Measure time in microseconds

Programming, for all ages and all languages.
Post Reply
Rui
Posts: 11
Joined: Sun Jan 25, 2009 6:53 am
Location: Portugal

Measure time in microseconds

Post by Rui »

Hello, how can I measure the time that a certain event needs to be completed, having a precision on microseconds in C++? I'm using vc++ by the way.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Measure time in microseconds

Post by Combuster »

"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply