1
0
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:
Bartosz Taudul
2023-04-02 22:10:22 +02:00
parent a4c200d242
commit 2b7b79352b
5 changed files with 270 additions and 225 deletions
+2
View File
@@ -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;
};
}