getClockTicks

fnlong getClockTicks() @safe nothrow

Gets the clock ticks per second.

Returns

Clock ticks per second (typically 100 on Linux).

Example:

auto hz = getClockTicks();
auto cpuSeconds = cpuTicks / hz;