nngn
|
#include <array>
#include <cstddef>
#include <cstdint>
#include <tuple>
#include "utils/utils.h"
#include "stats.h"
#include "timing.h"
Go to the source code of this file.
Classes | |
struct | nngn::ProfileStats |
struct | nngn::Profile |
struct | nngn::Profile::context< T > |
Namespaces | |
namespace | nngn |
Macros | |
#define | NNGN_STATS_CONTEXT(c, p) const auto NNGN_STATS_CONTEXT_VAR(__LINE__) = nngn::Profile::context<c>(p); |
#define | NNGN_PROFILE_CONTEXT(p) NNGN_STATS_CONTEXT(nngn::Profile, &nngn::Profile::stats.p) |
#define | NNGN_STATS_CONTEXT_VAR(l) NNGN_STATS_CONTEXT_JOIN(prof_, l) |
#define | NNGN_STATS_CONTEXT_JOIN(x, y) x##y |
#define NNGN_PROFILE_CONTEXT | ( | p | ) | NNGN_STATS_CONTEXT(nngn::Profile, &nngn::Profile::stats.p) |
#define NNGN_STATS_CONTEXT | ( | c, | |
p ) const auto NNGN_STATS_CONTEXT_VAR(__LINE__) = nngn::Profile::context<c>(p); |
#define NNGN_STATS_CONTEXT_JOIN | ( | x, | |
y ) x##y |
#define NNGN_STATS_CONTEXT_VAR | ( | l | ) | NNGN_STATS_CONTEXT_JOIN(prof_, l) |