
14 Aug
2011
14 Aug
'11
9:26 p.m.
On 2011-08-14 23:22:38 +0200, Gordon Woodhull said:
On Aug 14, 2011, at 3:40 PM, Kraus Philipp
wrote: timer t; run_algorithm; std::cout << t.elapsed << std::endl;
Boost.Timer has some problems, I've seen it measure CPU time instead of wall time on some platforms and I'm not sure about the accuracy.
I don't know about the MPI timer, but I would go with Chrono until Stopwatches is out.
Do you know anything about "CPU cycling"? Can I detect the CPU cycles which are elapsed during runtime? I need a "time value" for detecting runtime only. Thanks Phil