siegfried
6th August 2006, 03:59 PM
What functions do I use to write a stopwatch functions for benchmarking?
I want to retrieve the highest (most precise) time representation my machine is capable of (twice) and compute the difference and then display that difference in days, hours, minutes, seconds and fractions of a second. I want to display the start and stop times in year, month, day of month, hour, minute, seconds and fractions of seconds too.
I want to do this on both 64 bit linux and 32 bit linux with g++.
Thanks,
Siegfried
I want to retrieve the highest (most precise) time representation my machine is capable of (twice) and compute the difference and then display that difference in days, hours, minutes, seconds and fractions of a second. I want to display the start and stop times in year, month, day of month, hour, minute, seconds and fractions of seconds too.
I want to do this on both 64 bit linux and 32 bit linux with g++.
Thanks,
Siegfried