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

Import chrome metrics

This commit is contained in:
Dmitry Ivanov
2020-06-20 23:57:30 +02:00
parent 5c12c575b2
commit 9fa80c2cc8
2 changed files with 43 additions and 2 deletions
+2 -2
View File
@@ -400,8 +400,8 @@ Worker::Worker( const std::string& program, const std::vector<ImportEventTimelin
plot->type = PlotType::User;
plot->format = v.format;
double min = v.data.begin()->first;
double max = v.data.begin()->first;
double min = v.data.begin()->second;
double max = v.data.begin()->second;
plot->data.reserve_exact( v.data.size(), m_slab );
size_t idx = 0;
for( auto& p : v.data )