Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
d15cadd7
There was an error fetching the commit references. Please try again later.
Commit
d15cadd7
authored
7 years ago
by
bunnei
Browse files
Options
Downloads
Patches
Plain Diff
loggin: Add IPC logging category.
parent
dc905463
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/logging/backend.cpp
+2
-1
2 additions, 1 deletion
src/common/logging/backend.cpp
src/common/logging/log.h
+1
-0
1 addition, 0 deletions
src/common/logging/log.h
with
3 additions
and
1 deletion
src/common/logging/backend.cpp
+
2
−
1
View file @
d15cadd7
...
@@ -43,6 +43,7 @@ namespace Log {
...
@@ -43,6 +43,7 @@ namespace Log {
SUB(HW, LCD) \
SUB(HW, LCD) \
SUB(HW, GPU) \
SUB(HW, GPU) \
SUB(HW, AES) \
SUB(HW, AES) \
CLS(IPC) \
CLS(Frontend) \
CLS(Frontend) \
CLS(Render) \
CLS(Render) \
SUB(Render, Software) \
SUB(Render, Software) \
...
@@ -91,8 +92,8 @@ const char* GetLevelName(Level log_level) {
...
@@ -91,8 +92,8 @@ const char* GetLevelName(Level log_level) {
Entry
CreateEntry
(
Class
log_class
,
Level
log_level
,
const
char
*
filename
,
unsigned
int
line_nr
,
Entry
CreateEntry
(
Class
log_class
,
Level
log_level
,
const
char
*
filename
,
unsigned
int
line_nr
,
const
char
*
function
,
const
char
*
format
,
va_list
args
)
{
const
char
*
function
,
const
char
*
format
,
va_list
args
)
{
using
std
::
chrono
::
steady_clock
;
using
std
::
chrono
::
duration_cast
;
using
std
::
chrono
::
duration_cast
;
using
std
::
chrono
::
steady_clock
;
static
steady_clock
::
time_point
time_origin
=
steady_clock
::
now
();
static
steady_clock
::
time_point
time_origin
=
steady_clock
::
now
();
...
...
This diff is collapsed.
Click to expand it.
src/common/logging/log.h
+
1
−
0
View file @
d15cadd7
...
@@ -60,6 +60,7 @@ enum class Class : ClassType {
...
@@ -60,6 +60,7 @@ enum class Class : ClassType {
HW_LCD
,
///< LCD register emulation
HW_LCD
,
///< LCD register emulation
HW_GPU
,
///< GPU control emulation
HW_GPU
,
///< GPU control emulation
HW_AES
,
///< AES engine emulation
HW_AES
,
///< AES engine emulation
IPC
,
///< IPC interface
Frontend
,
///< Emulator UI
Frontend
,
///< Emulator UI
Render
,
///< Emulator video output and hardware acceleration
Render
,
///< Emulator video output and hardware acceleration
Render_Software
,
///< Software renderer backend
Render_Software
,
///< Software renderer backend
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment