Times

N

Nick

Is there any way to get times that are smaller than a millisecond?
Perhaps some library?
 
R

Ron Natalie

Nick said:
Is there any way to get times that are smaller than a millisecond?
Perhaps some library?

Not portably. You need to check your particular OS for what
timing features they provide. For Solaris we use gethrtimer.
For Windows we use QueryPreformanceCounter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top