Epok Engine

EPOK RUNTIME

epok::sequence_previous_ticks

Variable

Variable

Timer 0 requests approximately 1 kHz.

Belongs to
epok
Header
sequence_clock.hpp

Declaration

Declaration
uint16_t sequence_previous_ticks

Timer 0 requests approximately 1 kHz.

Type
uint16_t
Storage
Namespace scope

Example

C++ example
#include "sequence_clock.hpp"

auto value = epok::sequence_previous_ticks;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/sequence_clock.hpp:12