SPH
|
Tool to measure time spent in functions and profile the code. More...
#include "io/Logger.h"
#include "objects/wrappers/Optional.h"
#include "system/Platform.h"
#include "system/Timer.h"
#include <atomic>
#include <map>
#include <thread>
Go to the source code of this file.
Classes | |
struct | ScopedTimer |
Timer that reports the measured duration when being destroyed. More... | |
Macros | |
#define | MEASURE_SCOPE(name) |
#define | MEASURE(name, what) what |
#define | PROFILE_SCOPE(name) |
#define | PROFILE(name, what) what |
Tool to measure time spent in functions and profile the code.
Definition in file Profiler.h.
#define MEASURE | ( | name, | |
what | |||
) | what |
Definition at line 71 of file Profiler.h.
#define MEASURE_SCOPE | ( | name | ) |
Definition at line 70 of file Profiler.h.
#define PROFILE | ( | name, | |
what | |||
) | what |
Definition at line 176 of file Profiler.h.
#define PROFILE_SCOPE | ( | name | ) |
Definition at line 175 of file Profiler.h.