From 37bcb9cd4a67939b9a4b18b6657a9274cf52458e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 2 Aug 2022 12:43:37 -0400 Subject: [PATCH] Fix include path and QueueType::PlotData in TracyEventDebug.cpp * common/TracyQueue.hpp is now under public/. * QueueType::PlotData is splitted by cases. --- server/TracyEventDebug.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/server/TracyEventDebug.cpp b/server/TracyEventDebug.cpp index 317a9029..74e6842c 100644 --- a/server/TracyEventDebug.cpp +++ b/server/TracyEventDebug.cpp @@ -3,7 +3,7 @@ #include #include "TracyEventDebug.hpp" -#include "../common/TracyQueue.hpp" +#include "../public/common/TracyQueue.hpp" namespace tracy { @@ -144,8 +144,14 @@ void EventDebug( const QueueItem& ev ) case QueueType::GpuZoneEndSerial: fprintf( f, "ev %i (GpuZoneEndSerial)\n", ev.hdr.idx ); break; - case QueueType::PlotData: - fprintf( f, "ev %i (PlotData)\n", ev.hdr.idx ); + case QueueType::PlotDataInt: + fprintf( f, "ev %i (PlotDataInt)\n", ev.hdr.idx ); + break; + case QueueType::PlotDataFloat: + fprintf( f, "ev %i (PlotDataFloat)\n", ev.hdr.idx ); + break; + case QueueType::PlotDataDouble: + fprintf( f, "ev %i (PlotDataDouble)\n", ev.hdr.idx ); break; case QueueType::ContextSwitch: fprintf( f, "ev %i (ContextSwitch)\n", ev.hdr.idx );