"This process took 0.001ms to process" |
|
|
GetTickCount()
. Just call it twice, once before the code is processed (store that value) then again after the code is processed. Compare the 2 values and that will be a reasonable estimate in milliseconds. include Windows.h