Wrapper for AMD_performance_monitor-object-related operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/ext/AMD_performance_monitor.hpp>
Public Member Functions | |
void | SelectCounters (bool enable, const std::vector< PerfMonitorAMDCounter > &counters) const |
Enables or disables the specified counters for this monitor. More... | |
void | Begin (void) const |
Begins a monitoring session on this monitor. More... | |
void | End (void) const |
Ends a monitoring session on this monitor. More... | |
bool | ResultAvailable (void) const |
Returns true if results are available. More... | |
void | Result (std::vector< PerfMonitorAMDResult > &results) const |
Returns the results. More... | |
Wrapper for AMD_performance_monitor-object-related operations.
void oglplus::PerfMonitorAMDOps::Begin | ( | void | ) | const |
Begins a monitoring session on this monitor.
References OGLPLUS_CHECK.
void oglplus::PerfMonitorAMDOps::End | ( | void | ) | const |
Ends a monitoring session on this monitor.
References OGLPLUS_CHECK.
void oglplus::PerfMonitorAMDOps::Result | ( | std::vector< PerfMonitorAMDResult > & | results) | const |
Returns the results.
GL_PERFMON_RESULT_SIZE_AMD
GL_PERFMON_RESULT_AMD
References OGLPLUS_CHECK, oglplus::PerfMonitorAMDCounter::Type(), and oglplus::UnsignedInt64.
bool oglplus::PerfMonitorAMDOps::ResultAvailable | ( | void | ) | const |
Returns true if results are available.
GL_PERFMON_RESULT_AVAILABLE_AMD
References OGLPLUS_CHECK.
void oglplus::PerfMonitorAMDOps::SelectCounters | ( | bool | enable, |
const std::vector< PerfMonitorAMDCounter > & | counters | ||
) | const |
Enables or disables the specified counters for this monitor.
The counters
must be from the same group.
References OGLPLUS_CHECK.