Millisecond Time of a Tick

 

Hi

Can I get the time of a tick in milliseconds ... even if I have to go to the time on my pc it will be ok because I am interested in the speed of 1 tick to the next?

Any help appreciated ...

Thanks

Paul

 
int GetTickCount( )
The GetTickCount() function retrieves the number of milliseconds that have elapsed since the system was started. It is limited to the resolution of the system timer.
Sample:
  int start=GetTickCount();
  // some hard calculations...
  Print("Calculation time is ", GetTickCount()-start, " milliseconds.");
 
fbj wrote >>
int GetTickCount( )
The GetTickCount() function retrieves the number of milliseconds that have elapsed since the system was started. It is limited to the resolution of the system timer.
Sample:

THANKS!

 
Does this loop? When it gets greater than the max size of an int, what happens?
 
stewart:
Does this loop? When it gets greater than the max size of an int, what happens?
You are probably not going to get a reply from the OP as the post is over 3 years old