diff options
Diffstat (limited to 'src/common/logging')
| -rw-r--r-- | src/common/logging/backend.cpp | 3 | ||||
| -rw-r--r-- | src/common/logging/log.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 13f915a01..ba0acfb72 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -43,6 +43,7 @@ namespace Log { | |||
| 43 | SUB(HW, LCD) \ | 43 | SUB(HW, LCD) \ |
| 44 | SUB(HW, GPU) \ | 44 | SUB(HW, GPU) \ |
| 45 | SUB(HW, AES) \ | 45 | SUB(HW, AES) \ |
| 46 | CLS(IPC) \ | ||
| 46 | CLS(Frontend) \ | 47 | CLS(Frontend) \ |
| 47 | CLS(Render) \ | 48 | CLS(Render) \ |
| 48 | SUB(Render, Software) \ | 49 | SUB(Render, Software) \ |
| @@ -91,8 +92,8 @@ const char* GetLevelName(Level log_level) { | |||
| 91 | 92 | ||
| 92 | Entry CreateEntry(Class log_class, Level log_level, const char* filename, unsigned int line_nr, | 93 | Entry CreateEntry(Class log_class, Level log_level, const char* filename, unsigned int line_nr, |
| 93 | const char* function, const char* format, va_list args) { | 94 | const char* function, const char* format, va_list args) { |
| 94 | using std::chrono::steady_clock; | ||
| 95 | using std::chrono::duration_cast; | 95 | using std::chrono::duration_cast; |
| 96 | using std::chrono::steady_clock; | ||
| 96 | 97 | ||
| 97 | static steady_clock::time_point time_origin = steady_clock::now(); | 98 | static steady_clock::time_point time_origin = steady_clock::now(); |
| 98 | 99 | ||
diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 35b5af3cb..57021037a 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h | |||
| @@ -60,6 +60,7 @@ enum class Class : ClassType { | |||
| 60 | HW_LCD, ///< LCD register emulation | 60 | HW_LCD, ///< LCD register emulation |
| 61 | HW_GPU, ///< GPU control emulation | 61 | HW_GPU, ///< GPU control emulation |
| 62 | HW_AES, ///< AES engine emulation | 62 | HW_AES, ///< AES engine emulation |
| 63 | IPC, ///< IPC interface | ||
| 63 | Frontend, ///< Emulator UI | 64 | Frontend, ///< Emulator UI |
| 64 | Render, ///< Emulator video output and hardware acceleration | 65 | Render, ///< Emulator video output and hardware acceleration |
| 65 | Render_Software, ///< Software renderer backend | 66 | Render_Software, ///< Software renderer backend |