1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Perform bulk insertion of plot points.

This commit is contained in:
Bartosz Taudul
2017-10-19 23:26:21 +02:00
parent cc1715ae98
commit b7800be627
2 changed files with 25 additions and 2 deletions
+2
View File
@@ -88,6 +88,7 @@ private:
double max;
bool enabled;
Vector<PlotItem*> data;
Vector<PlotItem*> postpone;
};
void Worker();
@@ -132,6 +133,7 @@ private:
void InsertPlot( PlotData* plot, int64_t time, double val );
void InsertPlot( PlotData* plot, PlotItem* item );
void HandlePlotName( uint64_t name, std::string&& str );
void HandlePostponedPlots();
uint64_t GetFrameTime( size_t idx ) const;
uint64_t GetFrameBegin( size_t idx ) const;