zfisherdrums Posted November 15, 2007 Share Posted November 15, 2007 ( *First, let me say that I was torn between "Developer Chat" and "General Help and Support"; if I'm in the wrong tree let me know. )Is there a way ( i.e, native AutoIt code, DllCall, etc ) to obtain a cycle count for a given process? More specifically, the total number of cycles from start to finish?I need something a little more accurate than TimerInit/TimerDiff.I do not believe "QueryPerformanceCounter" would suffice given a multi-threaded environment could introduce some variances.I am using Windows XP Pro so "QueryProcessCycleTime" is out as well ( darn ).Anyone have any ideas or alternative ways to obtain reliable benchmarks?Thanks in advance,Zach... Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... Link to comment Share on other sites More sharing options...
Administrators Jon Posted November 15, 2007 Administrators Share Posted November 15, 2007 Don't think so. I run the same code a number of times in a loop with TimerDiff and get the average. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now