1 #ifndef OPENPOSE_UTILITIES_PROFILER_HPP
2 #define OPENPOSE_UTILITIES_PROFILER_HPP
26 static const std::string timerInit(
const int line,
const std::string&
function,
const std::string& file);
28 static void timerEnd(
const std::string& key);
30 static void printAveragedTimeMsOnIterationX(
const std::string& key,
const int line,
const std::string&
function,
const std::string& file,
const unsigned long long x = DEFAULT_X);
32 static void printAveragedTimeMsEveryXIterations(
const std::string& key,
const int line,
const std::string&
function,
const std::string& file,
const unsigned long long x = DEFAULT_X);
34 static void profileGpuMemory(
const int line,
const std::string&
function,
const std::string& file);
38 #endif // OPENPOSE_UTILITIES_PROFILER_HPP
static const unsigned long long DEFAULT_X
Definition: profiler.hpp:24
Definition: profiler.hpp:21
#define OP_API
Definition: macros.hpp:5