std::chrono::duration::count

From cppreference.com
< cpp‎ | chrono‎ | duration
 
 
 
 
 
constexpr rep count() const;

Returns the number of ticks for this duration.

Parameters

(none)

Return value

The number of ticks for this duration.