carl  24.04
Computer ARithmetic Library
carl::statistics::timing Namespace Reference

Typedefs

using clock = std::chrono::high_resolution_clock
 The clock type used here. More...
 
using duration = std::chrono::duration< std::size_t, std::milli >
 The duration type used here. More...
 
using time_point = clock::time_point
 The type of a time point. More...
 

Functions

auto now ()
 Return the current time point. More...
 
auto since (time_point start)
 Return the duration since the given start time point. More...
 
auto zero ()
 Return a zero duration. More...
 

Typedef Documentation

◆ clock

using carl::statistics::timing::clock = typedef std::chrono::high_resolution_clock

The clock type used here.

Definition at line 10 of file Timing.h.

◆ duration

using carl::statistics::timing::duration = typedef std::chrono::duration<std::size_t,std::milli>

The duration type used here.

Definition at line 12 of file Timing.h.

◆ time_point

using carl::statistics::timing::time_point = typedef clock::time_point

The type of a time point.

Definition at line 14 of file Timing.h.

Function Documentation

◆ now()

auto carl::statistics::timing::now ( )
inline

Return the current time point.

Definition at line 17 of file Timing.h.

Here is the caller graph for this function:

◆ since()

auto carl::statistics::timing::since ( time_point  start)
inline

Return the duration since the given start time point.

Definition at line 21 of file Timing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ zero()

auto carl::statistics::timing::zero ( )
inline

Return a zero duration.

Definition at line 25 of file Timing.h.