mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Store two entries in zone self time cache.
This accounts for situation when zone information window is open and a tooltip for another zone is displayed.
This commit is contained in:
@@ -477,7 +477,9 @@ private:
|
||||
|
||||
struct {
|
||||
std::pair<const ZoneEvent*, int64_t> zoneSelfTime = { nullptr, 0 };
|
||||
std::pair<const ZoneEvent*, int64_t> zoneSelfTime2 = { nullptr, 0 };
|
||||
std::pair<const GpuEvent*, int64_t> gpuSelfTime = { nullptr, 0 };
|
||||
std::pair<const GpuEvent*, int64_t> gpuSelfTime2 = { nullptr, 0 };
|
||||
} m_cache;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user