OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD > Class Template Reference

Class wrapping performance monitor functions (with direct state access) More...

#include </home/chochlik/devel/oglplus/include/oglplus/ext/AMD_performance_monitor.hpp>

Inheritance diagram for oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >:
Collaboration diagram for oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >:

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...
 

Detailed Description

template<>
class oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >

Class wrapping performance monitor functions (with direct state access)

Note
Do not use this class directly, use PerfMonitorAMD instead.

Member Function Documentation

void oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >::Begin ( void  ) const

Begins a monitoring session on this monitor.

Related OpenGL symbols:
glBeginPerfMonitorAMD
void oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >::End ( void  ) const

Ends a monitoring session on this monitor.

Related OpenGL symbols:
glEndPerfMonitorAMD
void oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >::Result ( std::vector< PerfMonitorAMDResult > &  results) const

Returns the results.

Related OpenGL symbols:
glGetPerfMonitorCounterDataAMD GL_PERFMON_RESULT_SIZE_AMD GL_PERFMON_RESULT_AMD

References oglplus::PerfMonitorAMDCounter::Type(), and oglplus::UnsignedInt64.

bool oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >::ResultAvailable ( void  ) const

Returns true if results are available.

Related OpenGL symbols:
glGetPerfMonitorCounterDataAMD GL_PERFMON_RESULT_AVAILABLE_AMD
void oglplus::ObjectOps< tag::DirectState, tag::PerfMonitorAMD >::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.

Related OpenGL symbols:
glSelectPerfMonitorCountersAMD

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).