measuring time of a profiled “Sleep” function
问题 A few days ago I posted this question: measuring time of a profiled function (I hope it's ok i'm opening a new thread, I just can't find the old one in the few first pages) I noticed that in my profiled process, I call a "Sleep" method - and this is the problem... When I call SuspendThread/ResumeThread - The Sleeping process pauses, but in reality - time moves on! I figure that "Sleep" is just some kind of a loop that takes the time and stops whenever the difference between the start time and