Figure 2 Using the profiler to find hidden problems

// Why isn't the while loop
//  ever executed?

time    count
0.0012  50  int flag = 0;
0.0031  50  while(flag = 0)
            {
0.0000  0     if(doTilTrue())
0.0000  0       flag = 1;
            }

// End of File