carb::profiler::ProfileZoneDynamic
Defined in carb/profiler/ProfilerUtils.h
- 
class ProfileZoneDynamic
- Helper class that allows to automatically stop profiling upon leaving block. - Note - Typically this is not used by an application. It is generated automatically by the CARB_PROFILE_ZONE() macro. - Public Functions - 
template<typename ...Args>
 inline ProfileZoneDynamic(const uint64_t mask, const ::carb::profiler::detail::String2 &tup, int line, const char *nameFmt, Args&&... args)
- Constructor. - Parameters
- mask – Profiling bitmask. 
- tup – A - String2of registered static strings for- __func__and- __FILE__.
- line – Line number in the file where the profile zone was started (usually - __LINE__).
- nameFmt – Profile zone name with printf-style formatting followed by arguments 
- args – Printf-style arguments used with - nameFmt.
 
 
 - 
template<typename ...Args>
 inline ProfileZoneDynamic(const Channel &channel, const ::carb::profiler::detail::String2 &tup, int line, const char *nameFmt, Args&&... args)
- Constructor. - Parameters
- channel – A profiling channel. 
- tup – A - String2of registered static strings for- __func__and- __FILE__.
- line – Line number in the file where the profile zone was started (usually - __LINE__).
- nameFmt – Profile zone name with printf-style formatting followed by arguments 
- args – Printf-style arguments used with - nameFmt.
 
 
 - 
inline ~ProfileZoneDynamic()
- Destructor. 
 
- 
template<typename ...Args>