CPU time inside a C++ program on Windows NT
-
Is there a possibility to measure the CPU time of a C++ program part under Windows NT, similar to exploiting the processing report files in the directory /proc under Solaris? Thanks!
-
Is there a possibility to measure the CPU time of a C++ program part under Windows NT, similar to exploiting the processing report files in the directory /proc under Solaris? Thanks!
Check out the PDH functions in the Platform SDK under Base Services\Performance Monitoring. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.
-
Check out the PDH functions in the Platform SDK under Base Services\Performance Monitoring. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.
Thanks Micheal! Nicolas
-
Is there a possibility to measure the CPU time of a C++ program part under Windows NT, similar to exploiting the processing report files in the directory /proc under Solaris? Thanks!
Take a look at GetThreadTime() and GetProcessTime() API calls ( they are NT-only). "Harland Pepper, would you stop naming nuts" - Harland Pepper