The Software Optimization Cookbook: High-Performance Recipes for IA-32 Platforms, Second Edition

Part III: Design and Application Optimization

Chapter List

Chapter 18: Case Study: Threading a Video Codec
Chapter 19: Designing for Performance
Chapter 20: Putting It Together: Basic Optimizations
Chapter 21: Putting It Together: The Last Ten Percent

Dessert

Gooey Brownies

Ingredients

  • pound (2 sticks) sweet butter

    4 ounces high-quality unsweetened chocolate, preferably 99% unsweetened Scharffen Berger pure dark chocolate

    4 eggs

    cup unbleached all-purpose flour

    1 cup sugar

    2 teaspoons vanilla extract

    1 cup Ghirardelli semi-sweet chocolate chips

Directions

  1. Preheat oven to 350 F. Grease a 9 x 13 inch baking pan.

  2. Melt butter and chocolate in the microwave and set aside to cool to room temperature.

  3. Beat eggs and sugar until thick and lemon-colored. Add vanilla. Fold in cooled chocolate mixture into eggs and sugar mixture. Mix thoroughly.

  4. Sift the flour and fold gently into batter, mixing just until blended. Fold in chocolate chips. Avoid adding too many air bubbles.

  5. Pour into greased pan and bake for 18 to 20 minutes for fudge-like brownies or a little longer for cake-like brownies. Check doneness with a toothpick inserted about 1-inch from the side of the pan. As soon as the toothpick comes out clean, the brownies are done. The center will be a little undercooked. Do not overcook!

Overview

Exploiting thread-level parallelism is an attractive approach to improving the performance of multimedia applications that are running on multithreading general-purpose processors. Given the new dual-core and emerging multi-core processors, the earlier you start to design for multithreading, the better. Previous chapters mentioned OpenMP key...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Food Additives
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.