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

Class of time points of system clocks. More...

#include <stat_bench/clock/system_time_point.h>

+ Collaboration diagram for stat_bench::clock::SystemTimePoint:

Public Member Functions

 SystemTimePoint (std::chrono::system_clock::time_point time_point) noexcept
 Constructor.
 
auto time_point () const noexcept -> std::chrono::system_clock::time_point
 Get the actual time point.
 

Detailed Description

Class of time points of system clocks.

Definition at line 32 of file system_time_point.h.

Constructor & Destructor Documentation

◆ SystemTimePoint()

stat_bench::clock::SystemTimePoint::SystemTimePoint ( std::chrono::system_clock::time_point time_point)
inlineexplicitnoexcept

Constructor.

Parameters
[in]time_pointActual time point.

Definition at line 39 of file system_time_point.h.

Member Function Documentation

◆ time_point()

auto stat_bench::clock::SystemTimePoint::time_point ( ) const -> std::chrono::system_clock::time_point
inlinenodiscardnoexcept

Get the actual time point.

Returns
Actual time point.

Definition at line 48 of file system_time_point.h.


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