I'm using the clock() function in my C++ program.
The problem is: I'm getting times like 0, 10 ms, 20 ms, etc.
But... what if a part of the program takes 5 ms, 15 ms, or 25 ms, or even more odd values like 7 ms, 11 ms, 12 ms, etc.
Is there a way to modify the intervals to let me measure the time with more precision?
Thanks in advance!
Eze.
eze@bumeran.com ---
Ezequiel Glinsky
eze@bumeran.com
Buenos Aires, Argentina
The problem is: I'm getting times like 0, 10 ms, 20 ms, etc.
But... what if a part of the program takes 5 ms, 15 ms, or 25 ms, or even more odd values like 7 ms, 11 ms, 12 ms, etc.
Is there a way to modify the intervals to let me measure the time with more precision?
Thanks in advance!
Eze.
eze@bumeran.com ---
Ezequiel Glinsky
eze@bumeran.com
Buenos Aires, Argentina