Move profiler command line to main, move key to external file, add register function
This commit is contained in:
@@ -10,7 +10,7 @@ public:
|
||||
std::map<std::string, uint32_t> calls;
|
||||
void record_function_call(const char *function_name);
|
||||
void reset();
|
||||
bool command_line(const std::string &input);
|
||||
void print() const;
|
||||
};
|
||||
|
||||
#define PROFILER_RECORD profiler.record_function_call(__func__)
|
||||
|
||||
Reference in New Issue
Block a user