|
Swarm-NG
1.1
|
Defines stopwatch class for benchmarking cpu & gpu performance. More...
#include <time.h>#include <sys/time.h>#include <stdlib.h>#include <stdint.h>Go to the source code of this file.
Classes | |
| class | stopwatch |
| Class for benchmarking cpu & gpu performance. Based on NVIDIA's LinuxStopWatch class. More... | |
Functions | |
| template<class T > | |
| double | watch_time (const T &a) |
| Helper function that takes a function object (or just a C function pointer) and measures the time that spent calculating it. | |
Defines stopwatch class for benchmarking cpu & gpu performance.
class stopwath is based on NVIDIA's LinuxStopWatch class
Definition in file stopwatch.h.