diff --git a/profiler/src/profiler/TracyDisassembly.hpp b/profiler/src/profiler/TracyDisassembly.hpp index 93bb2e66..0b0d7df4 100644 --- a/profiler/src/profiler/TracyDisassembly.hpp +++ b/profiler/src/profiler/TracyDisassembly.hpp @@ -106,6 +106,31 @@ struct DisasmData CpuArchitecture cpuArch; }; +struct AddrStat +{ + uint64_t local; + uint64_t ext; + + AddrStat& operator+=( const AddrStat& other ) + { + local += other.local; + ext += other.ext; + return *this; + } +}; + +struct AddrStatData +{ + AddrStat ipTotalSrc = {}; + AddrStat ipTotalAsm = {}; + AddrStat ipMaxSrc = {}; + AddrStat ipMaxAsm = {}; + AddrStat hwMaxSrc = {}; + AddrStat hwMaxAsm = {}; + unordered_flat_map ipCountSrc, ipCountAsm; + unordered_flat_map hwCountSrc, hwCountAsm; +}; + DisasmData Disassemble( uint64_t symAddr, const Worker& worker ); } diff --git a/profiler/src/profiler/TracySourceView.hpp b/profiler/src/profiler/TracySourceView.hpp index 4a9bd964..585ac0d2 100644 --- a/profiler/src/profiler/TracySourceView.hpp +++ b/profiler/src/profiler/TracySourceView.hpp @@ -54,31 +54,6 @@ private: DisplayMixed }; - struct AddrStat - { - uint64_t local; - uint64_t ext; - - AddrStat& operator+=( const AddrStat& other ) - { - local += other.local; - ext += other.ext; - return *this; - } - }; - - struct AddrStatData - { - AddrStat ipTotalSrc = {}; - AddrStat ipTotalAsm = {}; - AddrStat ipMaxSrc = {}; - AddrStat ipMaxAsm = {}; - AddrStat hwMaxSrc = {}; - AddrStat hwMaxAsm = {}; - unordered_flat_map ipCountSrc, ipCountAsm; - unordered_flat_map hwCountSrc, hwCountAsm; - }; - struct History { const char* fileName;