1 #ifndef OPENPOSE_UTILITIES_PROFILER_HPP
2 #define OPENPOSE_UTILITIES_PROFILER_HPP
27 static void setDefaultX(
const unsigned long long defaultX);
29 static const std::string timerInit(
const int line,
const std::string&
function,
const std::string& file);
31 static void timerEnd(
const std::string& key);
33 static void printAveragedTimeMsOnIterationX(
const std::string& key,
const int line,
34 const std::string&
function,
const std::string& file,
35 const unsigned long long x = DEFAULT_X);
37 static void printAveragedTimeMsEveryXIterations(
const std::string& key,
const int line,
38 const std::string&
function,
const std::string& file,
39 const unsigned long long x = DEFAULT_X);
41 static void profileGpuMemory(
const int line,
const std::string&
function,
const std::string& file);
45 #endif // OPENPOSE_UTILITIES_PROFILER_HPP
Definition: profiler.hpp:21
#define OP_API
Definition: macros.hpp:9
static unsigned long long DEFAULT_X
Definition: profiler.hpp:24