diff options
Diffstat (limited to 'src/common/profiler.cpp')
-rw-r--r-- | src/common/profiler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/profiler.cpp b/src/common/profiler.cpp index 49eb3f40c..b40e7205d 100644 --- a/src/common/profiler.cpp +++ b/src/common/profiler.cpp @@ -5,7 +5,6 @@ #include <algorithm> #include <cstddef> #include <vector> - #include "common/assert.h" #include "common/profiler_reporting.h" #include "common/synchronized_wrapper.h" @@ -14,8 +13,7 @@ namespace Common { namespace Profiling { ProfilingManager::ProfilingManager() - : last_frame_end(Clock::now()), this_frame_start(Clock::now()) { -} + : last_frame_end(Clock::now()), this_frame_start(Clock::now()) {} void ProfilingManager::BeginFrame() { this_frame_start = Clock::now(); @@ -31,7 +29,7 @@ void ProfilingManager::FinishFrame() { } TimingResultsAggregator::TimingResultsAggregator(size_t window_size) - : max_window_size(window_size), window_size(0) { + : max_window_size(window_size), window_size(0) { interframe_times.resize(window_size, Duration::zero()); frame_times.resize(window_size, Duration::zero()); } |