KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
Loading...
Searching...
No Matches
counter.hpp File Reference
#include <kassert/kassert.hpp>
#include <mpi.h>
#include "kamping/collectives/barrier.hpp"
#include "kamping/collectives/gather.hpp"
#include "kamping/communicator.hpp"
#include "kamping/environment.hpp"
#include "kamping/measurements/aggregated_tree_node.hpp"
#include "kamping/measurements/internal/measurement_utils.hpp"
Include dependency graph for counter.hpp:

Go to the source code of this file.

Classes

class  kamping::measurements::Counter< CommunicatorType >
 Distributed counter object. More...
 

Typedefs

using kamping::measurements::BasicCounter = Counter<Communicator<>>
 A basic Counter that uses kamping::Communicator<> as underlying communicator type.
 

Functions

Counter< Communicator<> > & kamping::measurements::counter ()
 Gets a reference to a kamping::measurements::BasicTimer.
 

Detailed Description

This file contains a (distributed) counter class.

Function Documentation

◆ counter()

Counter< Communicator<> > & kamping::measurements::counter ( )
inline

Gets a reference to a kamping::measurements::BasicTimer.

Returns
A reference to a kamping::measurements::BasicCounter.