File instrumentation.hpp๏ƒ

Define utilities for instrumentation of the code.

This is the home of anything that gets placed inside other classes or functions in order to instrument the code. e.g. for profiling or debugging. Everything should ideally be macro-fied so it can be included only for certain builds, or specified by build time options.

Defines

NT_PROFILE_BEGINSESSION(sessionName)๏ƒ
NT_PROFILE(message)๏ƒ
NT_PROFILE_ENDSESSION()๏ƒ
struct ProfileResult๏ƒ
#include <instrumentation.hpp>

Hold the results of a profiled function to be written out.

Public Members

std::string name๏ƒ
long start๏ƒ
long end๏ƒ
uint32_t threadID๏ƒ