Simple profiling of computational tasks.
More...
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <ctime>
Go to the source code of this file.
|
| namespace | utl |
| | General utility classes and functions.
|
| |
|
|
#define | PROFILE(label) utl::prof _prof(label) |
| | Macro to add profiling of the local scope.
|
| |
|
#define | PROFILE1(label) |
| | Macro to add level 1 profiling of the local scope.
|
| |
|
#define | PROFILE2(label) |
| | Macro to add level 2 profiling of the local scope.
|
| |
|
#define | PROFILE3(label) |
| | Macro to add level 3 profiling of the local scope.
|
| |
|
#define | PROFILE4(label) |
| | Macro to add level 4 profiling of the local scope.
|
| |
|
|
Profiler * | utl::profiler = nullptr |
| | Pointer to the one and only profiler object.
|
| |
Simple profiling of computational tasks.
- Date
- May 18 2010
- Author
- Knut Morten Okstad / SINTEF