Why doesn't Sleep(100) show in "Wait Time"

Why doesn't Sleep(100) show in "Wait Time"

Hi,

In a profiled function I make the call: Sleep(100). I would expect one or more of the "Wait Time" values for that function to be around 100 milliseconds, but they are all zero. Sleep suspends the thread, so shouldn't that time go into "Wait Time"?

Thanks,

Alan Cobb

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.