DUNE-FEM (unstable)

Dune::Fem::FlopCounter Class Reference

A class wrapper for the function PAPI_flops from the package PAPI. The results are CPU time, real and process local and the number of floating point operations in MFLOP/s. More...

#include <dune/fem/misc/flops.hh>

Static Public Member Functions

static void start ()
 Start counters. More...
 
static void stop ()
 stop counters
 
static void print (std::ostream &out)
 print values to given ostream, all values are gathered to the master rank before printing
 

Detailed Description

A class wrapper for the function PAPI_flops from the package PAPI. The results are CPU time, real and process local and the number of floating point operations in MFLOP/s.

Member Function Documentation

◆ start()

static void Dune::Fem::FlopCounter::start ( )
inlinestatic

Start counters.

Note
Call this method for the master thread before all other threads call this method if used in a multi-thread environment.

References Dune::Fem::Singleton< Object >::instance().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)