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 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项