Skip to main content

ClikaRT::runtime::StepSlot

struct

Header: ClikaRT/runtime/context.h

One session's slot within a batched Iterate step. session and priority let a model short of capacity pick which session to set aside without the runtime naming one: the youngest (highest session; ids are minted in arrival order) among the lowest priority. See Disposition::Preempted.

Data members​

state​

ModelState* state = nullptr

the session's own state (null for a stateless model)

Declared in ClikaRT/runtime/context.h, line 59

session​

std::uint64_t session = 0

the runtime's session id (arrival order)

Declared in ClikaRT/runtime/context.h, line 60

priority​

std::int32_t priority = 0

the request's scheduling priority (higher runs sooner)

Declared in ClikaRT/runtime/context.h, line 61