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

Live updates of find zone data.

TODO: found zones list. Currently only histogram view is available.
This commit is contained in:
Bartosz Taudul
2018-03-18 02:43:17 +01:00
parent c807b3f7ef
commit 746df21ad9
2 changed files with 351 additions and 382 deletions
-6
View File
@@ -98,8 +98,6 @@ private:
const GpuEvent* GetZoneParent( const GpuEvent& zone ) const;
void FindZones();
void RecalcFindMatches();
void RecalcFindMatches( const Vector<ZoneEvent*> &events, Vector<ZoneEvent*> &out, const int maxdepth = 0 );
template <typename T>
bool& Visible( const T* ptr )
@@ -168,12 +166,9 @@ private:
struct {
bool show;
std::vector<std::unique_ptr<ThreadData>> result;
std::vector<uint32_t> counts;
flat_hash_map<int32_t, bool> match;
char pattern[1024] = { "" };
int maxZonesPerThread = -1;
int maxDepth = -1;
bool logVal = false;
bool logTime = false;
bool cumulateTime = false;
@@ -181,7 +176,6 @@ private:
void Reset()
{
result.clear();
match.clear();
counts.clear();
highlight.active = false;