walberla::timing::CpuPolicy Struct Reference

Detailed Description

Timing policy for the measurement of the CPU time.

The CpuPolicy class represents the timing policy for CPU time measurements that can be used in combination with the Timer class template. This combination is realized with the CpuTimer type definition.

#include <CpuPolicy.h>

Static Public Member Functions

Timing functions
static double getTimestamp ()
 Returns a timestamp of the current CPU time in seconds. More...
 

Member Function Documentation

◆ getTimestamp()

double walberla::timing::CpuPolicy::getTimestamp ( )
inlinestatic

Returns a timestamp of the current CPU time in seconds.

Returns
CPU timestamp in seconds.

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