Link to home
Start Free TrialLog in
Avatar of MauricioGaviria
MauricioGaviria

asked on

I need a cronometro component

I need to know a component to measure times
Avatar of mokule
mokule
Flag of Poland image


What resolution and accuracy do You need ?

ASKER CERTIFIED SOLUTION
Avatar of shaneholmes
shaneholmes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW
I've constructed chronometer "component". It weights some 5kg or more
You can't have true chronometer on a computer running Windows.
Avatar of MauricioGaviria
MauricioGaviria

ASKER

thanks a lot

    Mokule, it is possible

    http://www.torry.net/vcl/datetime/timers/mahpcounter.zip

    This is high precision timer which tick every 1 microsecond...

I hope it was only a joke. :))

Do You look at this code?

  MSDN says:
  The QueryPerformanceCounter function retrieves the current value of the high-resolution performance counter, if one exists
Beautiful.

Think about threads. It is simply not possible to start and stop it precisely under Windows. For this we've got real time operating systems.

   Yes, I agree with you about this. But I am speaking about possible decisions (not perfect :)) :P