#include <atomic>
#include <chrono>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
|
namespace | ph |
| The root for all renderer implementations.
|
|
namespace | ph::detail |
| Implementation detail mainly for internal usages.
|
|
namespace | ph::detail::stats |
|
◆ PH_DEFINE_EXTERNAL_TIMER_STAT
◆ PH_DEFINE_INLINE_TIMER_STAT
#define PH_DEFINE_INLINE_TIMER_STAT |
( |
| statName, |
|
|
| categoryName ) |
Value: inline ::ph::detail::stats::TimeCounter& internal_impl_time_counter_access_##statName()\
{\
static ::ph::detail::stats::TimeCounter counter(#statName, #categoryName);\
return counter;\
}
◆ PH_DEFINE_INTERNAL_TIMER_STAT
#define PH_DEFINE_INTERNAL_TIMER_STAT |
( |
| statName, |
|
|
| categoryName ) |
Value: namespace\
{\
PH_DEFINE_INLINE_TIMER_STAT(statName, categoryName);\
}
◆ PH_SCOPED_TIMER
#define PH_SCOPED_TIMER |
( |
| statName | ) |
|
Value:
internal_impl_time_counter_access_##statName())