33#ifndef DVD_CORE_TIME_PROFILE_TIMER_H_
34#define DVD_CORE_TIME_PROFILE_TIMER_H_
39class ApplicationTimer;
44 void start() noexcept;
46 void reset() noexcept;
47 [[nodiscard]]
string print(
U32 level = 0) const;
49 [[nodiscard]]
U64 get() const;
51 [[nodiscard]] const
string&
name() const noexcept;
void removeChildTimer(ProfileTimer &child)
void addChildTimer(ProfileTimer &child)
static void removeTimer(ProfileTimer &timer)
static ProfileTimer & getNewTimer(const char *timerName)
U64 getChildTotal() const
string print(U32 level=0) const
const string & name() const noexcept
bool hasChildTimer(const ProfileTimer &child) const
void REMOVE_TIMER(ProfileTimer *&timer)
U64 QUERY_TIMER(const ProfileTimer &timer) noexcept
void START_TIMER(ProfileTimer &timer) noexcept
ProfileTimer & ADD_TIMER(const char *timerName)
void STOP_TIMER(ProfileTimer &timer) noexcept
string PRINT_TIMER(ProfileTimer &timer)
Handle console commands that start with a forward slash.
eastl::vector< Type > vector