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:
@@ -34,8 +34,10 @@ protected:
|
||||
|
||||
private:
|
||||
void PreprocessCpuUsage( const TimelineContext& ctx );
|
||||
void PreprocessCpuCtxSwitches( const TimelineContext& ctx, const Vector<ContextSwitchCpu>& cs, std::vector<CpuCtxDraw>& out );
|
||||
|
||||
std::vector<CpuUsageDraw> m_cpuDraw;
|
||||
std::vector<std::vector<CpuCtxDraw>> m_ctxDraw;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user