#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(); }