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 contribution / 0 nouveau(x)
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.