For HPC purpose high precision benchmark is a must have. On windows i have always used printtsc so my benchmarks have cpu-clock accuracy. Because at this performance level almost no cpu-cycle can be wasted.
Unfortunately the story is not over :
It seems to me you overlook the HPC problems.
The time is a MHz-dependant information. Moreover cpu frequency can scale up or down. So time is just an inaccurate performance measurement.
The TSC is a MHz-independant information.
More importantly, i have a need to access clock information while the program is progressing, not only when it is terminated. The motivation is the program is so loooooooong hence it displays certain progress information. The time when a certain computation step occurs really matters.
I need to know if the program will terminate after the sun explodes or before i turn 50 It makes a huge difference, isn't it ? The time command will not tell me that information. Or it will tell it long after i am died
Conclusion : i still have a need to display the cpu TSC.
Edit: i finally wrote the code myself, just have to test it
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum