mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Parallelize calculation of per-CPU context switches.
This commit is contained in:
@@ -46,6 +46,7 @@ struct ContextSwitchDraw;
|
||||
struct SamplesDraw;
|
||||
struct MessagesDraw;
|
||||
struct CpuUsageDraw;
|
||||
struct CpuCtxDraw;
|
||||
|
||||
class View
|
||||
{
|
||||
@@ -132,7 +133,7 @@ public:
|
||||
void DrawThreadMessagesList( const TimelineContext& ctx, const std::vector<MessagesDraw>& drawList, int offset, uint64_t tid );
|
||||
void DrawThreadOverlays( const ThreadData& thread, const ImVec2& ul, const ImVec2& dr );
|
||||
bool DrawGpu( const TimelineContext& ctx, const GpuCtxData& gpu, int& offset );
|
||||
bool DrawCpuData( const TimelineContext& ctx, const std::vector<CpuUsageDraw>&, int& offset );
|
||||
bool DrawCpuData( const TimelineContext& ctx, const std::vector<CpuUsageDraw>& cpuDraw, const std::vector<std::vector<CpuCtxDraw>>& ctxDraw, int& offset );
|
||||
|
||||
bool m_showRanges = false;
|
||||
Range m_statRange;
|
||||
|
||||
Reference in New Issue
Block a user