Files
open_pit/profiler.cpp
2019-05-14 15:33:11 +02:00

17 lines
202 B
C++

#include "profiler.hpp"
using std::string;
Profiler profiler;
void Profiler::record_function_call(const char *function_name)
{
calls[function_name]++;
}
void Profiler::clear()
{
calls.clear();
}