Get counter names from environment variable

Allows user to customize the collected information with environment
variable TRACY_ROCPROF_COUNTERS.
This commit is contained in:
Eric Eaton
2025-07-11 17:16:00 -07:00
parent e9e0404930
commit d1f9df8058
2 changed files with 10 additions and 8 deletions
-3
View File
@@ -6051,9 +6051,6 @@ void Worker::ProcessGpuZoneAnnotation( const QueueGpuZoneAnnotation& ev )
zone->note_ids[zone->note_count] = ev.noteId;
zone->note_vals[zone->note_count] = ev.value;
zone->note_count++;
if (ctx->notes.contains(ev.noteId))
fprintf(stderr, "%s: %f\n", GetString(ctx->notes[ev.noteId]), ev.value);
}
MemEvent* Worker::ProcessMemAllocImpl( MemData& memdata, const QueueMemAlloc& ev )