Click to See Complete Forum and Search --> : GetTickCount()


MoHammaD_93
July 30th, 2009, 10:04 AM
Hi,

GetTickCount calculates the time in milliseconds,,

Whereas I want one to calc it in ticks (about 1/10000000 sec)

In .Net framework there is a class named "Stopwatch", this class has a property called ElapsedTicks,, I need something like this in C++,,

Can anyone help me??

NOTE: I don't want to use .Net Framework,

wait for your response,,,

BYe..

mikoil
July 30th, 2009, 10:14 AM
Google for

msdn QueryPerformanceCounter

There you're get to Microsoft's website, and look for an example.
That's what you're looking for.