| 724 | } |
| 725 | |
| 726 | void finishStackTraceUnique() { |
| 727 | #ifndef NDEBUG |
| 728 | if (!ENABLE_STACK_TRACES) { |
| 729 | return; |
| 730 | } |
| 731 | printlog("Unique stack trace tally:"); |
| 732 | for (auto it = unique_traces.begin(); it != unique_traces.end(); ++it) { |
| 733 | printlog(it->first.c_str()); |
| 734 | printlog("%llu", it->second); |
| 735 | } |
| 736 | unique_traces.clear(); |
| 737 | #endif |
| 738 | } |
| 739 | |
| 740 | #ifndef EDITOR |
| 741 | #include "interface/consolecommand.hpp" |