|
Unravel Engine C++ Reference
|
A single profiling event captured during a frame. More...
#include <profiler.h>
Public Member Functions | |
| auto | name () const -> const char * |
Public Attributes | |
| const char * | name_literal {} |
| String literal from native scopes; null if the label is stored in name_owned. | |
| std::string | name_owned {} |
| int64_t | start_ns {0} |
| int64_t | end_ns {0} |
| int64_t | cpu_start_ns {0} |
| int64_t | cpu_end_ns {0} |
| uint16_t | depth {0} |
| uint16_t | thread_index {0} |
| uint32_t | color_hash {0} |
A single profiling event captured during a frame.
Definition at line 140 of file profiler.h.
|
inlinenodiscard |
Definition at line 153 of file profiler.h.
| uint32_t unravel::profile_event::color_hash {0} |
Definition at line 151 of file profiler.h.
| int64_t unravel::profile_event::cpu_end_ns {0} |
Definition at line 148 of file profiler.h.
| int64_t unravel::profile_event::cpu_start_ns {0} |
Definition at line 147 of file profiler.h.
| uint16_t unravel::profile_event::depth {0} |
Definition at line 149 of file profiler.h.
| int64_t unravel::profile_event::end_ns {0} |
Definition at line 146 of file profiler.h.
| const char* unravel::profile_event::name_literal {} |
String literal from native scopes; null if the label is stored in name_owned.
Definition at line 143 of file profiler.h.
| std::string unravel::profile_event::name_owned {} |
Definition at line 144 of file profiler.h.
| int64_t unravel::profile_event::start_ns {0} |
Definition at line 145 of file profiler.h.
| uint16_t unravel::profile_event::thread_index {0} |
Definition at line 150 of file profiler.h.