STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Files | Classes

Hardware counters support. More...

+ Collaboration diagram for Counters:

Files

file  counter/config.hpp
 

Classes

class  stapl::counter_group< GroupID >
 Controls enabling/disabling a specific group of counter objects at runtime. More...
 
struct  stapl::disable_group_counter< GroupID >
 Disables a specific counter group at compile-time. More...
 
class  stapl::counter< T, GroupID, bool >
 Implements a configurable counter. More...
 
class  stapl::scoped_counter< Counter >
 Function object to start and stop a counter object in a specific scope. More...
 
class  stapl::xc30_energy_counter
 Counter that measures energy consumption in Joules for the Cray XC30 platform. More...
 
class  stapl::process_memory_usage_counter
 Memory usage counter that uses get_used_physical_memory(). More...
 
class  stapl::mpi_wtime_timer
 Time counter that uses MPI_Wtime() for systems with MPI. More...
 
class  stapl::papi_counter
 Counter that uses PAPI to measure different events. More...
 
class  stapl::papi_cycle_counter
 Processor cycle counter that uses PAPI. More...
 
class  stapl::papi_timer
 Time counter that uses PAPI. More...
 
class  stapl::papi_timer_n_counter
 Counter that uses PAPI to measure both time and different events. More...
 
class  stapl::clock_gettime_timer
 Time counter that uses clock_gettime() in POSIX systems. More...
 
class  stapl::getrusage_timer
 Counter that uses getrusage() in POSIX systems. More...
 
class  stapl::gettimeofday_timer
 Time counter that uses gettimeofday() in POSIX systems. /. More...
 
class  stapl::probe< T, Tag >
 The probe is used to profile sections of code and dump the measurements to std::cout. More...
 
class  stapl::gettickcount_timer
 Time counter that uses GetTickCount() in Windows systems. More...
 

Detailed Description

Hardware counters support.

The counters are abstracting the hardware counters, such as wall-clock timers, cache hits/misses and others. Different hardware counters are available in its platform so not all the available counters may be available.