Jump to content

Recommended Posts

Posted

( *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...

  • Administrators
Posted

Don't think so. I run the same code a number of times in a loop with TimerDiff and get the average.


 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...