Count the whole seconds of a duration as a signed 64‐bit integer.

Synopsis

Declared in <util/time.h>

template<typename Duration>
constexpr
int64_t
TicksSeconds(Duration d);

Return Value

The whole‐second tick count of d.

Parameters

Name

Description

d

The duration to convert.

Created with MrDocs