blog.ruofeidu.com
Timer: How to Measure Execution Time in C++ 11 - Fusing Data and AI into VR
Timer is important for measuring speed-ups, or elapsed time for comparing different algorithms. We used to import and measure the elapsed time with the following code: [crayon-5e55e0723560a331198777/] However, the clock() function measures the CPU time, not actual time elapsed (which may be much greater), according to this StackOverFlow thread. Hence, here I share my code... Read More