1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Do not recalculate frame stats, if frame data didn't change.

This commit is contained in:
Bartosz Taudul
2018-08-31 18:51:00 +02:00
parent 4ee8e7c372
commit 230ee71368
2 changed files with 29 additions and 16 deletions
+8
View File
@@ -355,6 +355,14 @@ private:
uint64_t ptrFind = 0;
bool restrictTime = false;
} m_memInfo;
struct {
std::vector<uint64_t> data;
const FrameData* frameSet = nullptr;
size_t frameNum = 0;
float average = 0;
float median = 0;
} m_frameSortData;
};
}