Epok Engine

EPOK RUNTIME

epok::instrument::time

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Performs `time` as part of the instrument bank module.

Belongs to
epok::instrument
Header
instrument_bank.hpp
Overloads
1

Declaration

Declaration
inline bool time(int32_t value, int32_t maximum, bool zero)

Performs `time` as part of the instrument bank module.

ParameterTypeMeaning
valueint32_tNot documented; consult the linked header.
maximumint32_tNot documented; consult the linked header.
zeroboolNot documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "instrument_bank.hpp"

// Assume these named values have been initialized with valid data:
// int32_t value
// int32_t maximum
// bool zero

auto result = epok::instrument::time(value, maximum, zero);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/instrument_bank.hpp:39

Related members