Skip to main content

Mojo struct

WaitCountArg

struct WaitCountArg

Mojo struct to encapsulate waitcnt argument bitfields and helpers.

Implemented traits

AnyType, UnknownDestructibility

Aliases

__del__is_trivial

alias __del__is_trivial = True

MAX

alias MAX = 53119

MAX_EXP_CNT

alias MAX_EXP_CNT = 7

MAX_LGKM_CNT

alias MAX_LGKM_CNT = 15

MAX_VM_CNT

alias MAX_VM_CNT = 63

Methods

from_vmcnt

static from_vmcnt(cnt: UInt32) -> UInt32

Returns:

UInt32

from_expcnt

static from_expcnt(cnt: UInt32) -> UInt32

Returns:

UInt32

from_lgkmcnt

static from_lgkmcnt(cnt: UInt32) -> UInt32

Returns:

UInt32

Was this page helpful?