May 2018
Intermediate to advanced
328 pages
8h 15m
English
To measure the execution time of a function, you should retrieve the current time before the function execution, execute the function, then retrieve the current time again and determine how much time passed between the two time points. For convenience, this can all be put in a variadic function template that takes as arguments the function to execute and its arguments, and:
Read now
Unlock full access