cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
stat_bench::clock::Duration Class Reference

Class of durations. More...

#include <stat_bench/clock/duration.h>

+ Collaboration diagram for stat_bench::clock::Duration:

Public Member Functions

 Duration (double seconds) noexcept
 Constructor.
 
auto seconds () const noexcept -> double
 Get the number of seconds.
 

Detailed Description

Class of durations.

Definition at line 28 of file duration.h.

Constructor & Destructor Documentation

◆ Duration()

stat_bench::clock::Duration::Duration ( double seconds)
inlineexplicitnoexcept

Constructor.

Parameters
[in]secondsNumber of seconds.

Definition at line 35 of file duration.h.

Member Function Documentation

◆ seconds()

auto stat_bench::clock::Duration::seconds ( ) const -> double
inlinenodiscardnoexcept

Get the number of seconds.

Returns
Number of seconds.

Definition at line 42 of file duration.h.


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