It's starting to become a proper challange
This commit is contained in:
@@ -9,7 +9,8 @@ class Profiler
|
||||
public:
|
||||
std::map<std::string, uint32_t> calls;
|
||||
void record_function_call(const char *function_name);
|
||||
void clear();
|
||||
void reset();
|
||||
bool command_line(const std::string &input);
|
||||
};
|
||||
|
||||
#define PROFILER_RECORD profiler.record_function_call(__func__)
|
||||
|
||||
Reference in New Issue
Block a user