|
Aegis2D
Modular C++26 2D game engine for networked games
|
Time a named part of a frame took, as Profiler::last_frame() gives it. More...
#include <aegis2d/core/profiler.hpp>
Public Attributes | |
| std::string | name {} |
Name of the scope, such as "update" or a system's name. | |
| std::size_t | depth = 0 |
| How deep it is: 0 for a phase of the frame, 1 for a scope inside one... | |
| double | ms = 0.0 |
| Time spent in it during the frame, every call added, in milliseconds. | |
| std::uint32_t | calls = 0 |
| How many times it was entered during the frame (the fixed steps of a frame run the same systems several times). | |
Time a named part of a frame took, as Profiler::last_frame() gives it.
| std::uint32_t aegis2d::core::ProfileEntry::calls = 0 |
How many times it was entered during the frame (the fixed steps of a frame run the same systems several times).
| std::size_t aegis2d::core::ProfileEntry::depth = 0 |
How deep it is: 0 for a phase of the frame, 1 for a scope inside one...
| double aegis2d::core::ProfileEntry::ms = 0.0 |
Time spent in it during the frame, every call added, in milliseconds.
| std::string aegis2d::core::ProfileEntry::name {} |
Name of the scope, such as "update" or a system's name.