#include <mutable/util/fn.hpp>
#include <mutable/util/macro.hpp>
#include <algorithm>
#include <chrono>
#include <ctime>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
|
| namespace | m |
| |
mutable namespace
|
| |
|
| #define | M_TIME_EXPR(EXPR, DESCR, TIMER) [&]() { auto TP = (TIMER).create_timing((DESCR)); return (EXPR); }(); |
| |
| #define | M_TIME_BLOCK(DESCR, TIMER, BLOCK) |
| |
| #define | M_TIME_THIS(DESCR, TIMER) auto M_PASTE(__timer_, __COUNTER__) = (TIMER).create_timing((DESCR)); |
| |
◆ M_TIME_BLOCK
| #define M_TIME_BLOCK |
( |
|
DESCR, |
|
|
|
TIMER, |
|
|
|
BLOCK |
|
) |
| |
Value: {\
auto TP = (TIMER).create_timing((DESCR)); \
}
Definition at line 179 of file Timer.hpp.
◆ M_TIME_EXPR
| #define M_TIME_EXPR |
( |
|
EXPR, |
|
|
|
DESCR, |
|
|
|
TIMER |
|
) |
| [&]() { auto TP = (TIMER).create_timing((DESCR)); return (EXPR); }(); |
◆ M_TIME_THIS
| #define M_TIME_THIS |
( |
|
DESCR, |
|
|
|
TIMER |
|
) |
| auto M_PASTE(__timer_, __COUNTER__) = (TIMER).create_timing((DESCR)); |