diff options
| author | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-12-03 21:54:54 -0600 |
|---|---|---|
| committer | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-12-03 22:01:12 -0600 |
| commit | e7ddaf86f5dbfb68661dab57e63777a7dcd01e6b (patch) | |
| tree | aa4a5f15f984718a131a1ae2b36a7c99baa75e31 /Source/Core/Common/Profiler.cpp | |
| parent | 7bc78827edcfc4c71ce87e5658fe4fcc01c7e526 (diff) | |
Fix building with PCH disabled.
Diffstat (limited to 'Source/Core/Common/Profiler.cpp')
| -rw-r--r-- | Source/Core/Common/Profiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/Profiler.cpp b/Source/Core/Common/Profiler.cpp index 2752b0d23c..8d347afb89 100644 --- a/Source/Core/Common/Profiler.cpp +++ b/Source/Core/Common/Profiler.cpp @@ -2,10 +2,6 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. -static const u32 PROFILER_FIELD_LENGTH = 8; -static const u32 PROFILER_FIELD_LENGTH_FP = PROFILER_FIELD_LENGTH+3; -static const int PROFILER_LAZY_DELAY = 60; // in frames - #include <cmath> #include <cstdio> #include <cstring> @@ -16,6 +12,10 @@ static const int PROFILER_LAZY_DELAY = 60; // in frames #include "Common/Profiler.h" #include "Common/Timer.h" +static const u32 PROFILER_FIELD_LENGTH = 8; +static const u32 PROFILER_FIELD_LENGTH_FP = PROFILER_FIELD_LENGTH + 3; +static const int PROFILER_LAZY_DELAY = 60; // in frames + std::list<Profiler*> Profiler::s_all_profilers; u32 Profiler::s_max_length = 0; u64 Profiler::s_frame_time; |
