Skip to content

Commit a1b552c

Browse files
authored
Merge pull request #79 from adriengivry/fix/profiler_history_reversed_order
Reversing the order of entries in profiler reports
2 parents 440fc37 + f4c5e43 commit a1b552c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sources/Overload/OvAnalytics/src/OvAnalytics/Profiling

Sources/Overload/OvAnalytics/src/OvAnalytics/Profiling/Profiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ OvAnalytics::Profiling::ProfilerReport OvAnalytics::Profiling::Profiler::Generat
3838
report.elapsedFrames = __ELAPSED_FRAMES;
3939
report.elaspedTime = elapsed.count();
4040

41-
std::multimap<double, std::string> sortedHistory;
41+
std::multimap<double, std::string, std::greater<double>> sortedHistory;
4242

4343
/* Fill the sorted history with the current history (Auto sort) */
4444
for (auto& data : __ELPASED_HISTORY)

0 commit comments

Comments
 (0)