mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Merge pull request #439 from antiagainst/fix-event-debug
Fix include path and QueueType::PlotData in TracyEventDebug.cpp
This commit is contained in:
commit
eeffb6d25c
@ -3,7 +3,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include "TracyEventDebug.hpp"
|
#include "TracyEventDebug.hpp"
|
||||||
#include "../common/TracyQueue.hpp"
|
#include "../public/common/TracyQueue.hpp"
|
||||||
|
|
||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
@ -144,8 +144,14 @@ void EventDebug( const QueueItem& ev )
|
|||||||
case QueueType::GpuZoneEndSerial:
|
case QueueType::GpuZoneEndSerial:
|
||||||
fprintf( f, "ev %i (GpuZoneEndSerial)\n", ev.hdr.idx );
|
fprintf( f, "ev %i (GpuZoneEndSerial)\n", ev.hdr.idx );
|
||||||
break;
|
break;
|
||||||
case QueueType::PlotData:
|
case QueueType::PlotDataInt:
|
||||||
fprintf( f, "ev %i (PlotData)\n", ev.hdr.idx );
|
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;
|
break;
|
||||||
case QueueType::ContextSwitch:
|
case QueueType::ContextSwitch:
|
||||||
fprintf( f, "ev %i (ContextSwitch)\n", ev.hdr.idx );
|
fprintf( f, "ev %i (ContextSwitch)\n", ev.hdr.idx );
|
||||||
|
Loading…
Reference in New Issue
Block a user