Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

the most accurate system time

Status
Not open for further replies.

luyan

Programmer
May 10, 2002
1
CA
Hi,

I used the VC function _ftime() to get the current CPU time. The problem is this time seems to have a resolution of 50 ms, which is not so promising for my application. could anybody tell me how to get a more accurate PC time?

Thanks!
BTW, The program is run on an Intel II Toshiba laptop.
 
Have you tried the Performance Counter functions? I was told that had a resolution of 3ms. Or course, it's hardware
(well, the performance counter is) so you might not have it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top