Skip to content
Start free evaluation

PdcommGemFormattedProgramExecutionActionToken

Struct

Identifies one action of an execution.

typedef struct PdcommGemFormattedProgramExecutionActionToken { ... } PdcommGemFormattedProgramExecutionActionToken

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

Build it from PdcommGemFormattedProgramExecutionActionInfo: copy kind, endpoint_id, session_generation, execution_generation, and action_sequence, set struct_size and version, and zero reserved.

Members

action_sequence

Field

Action sequence number: 1 for Start, then increasing for each new Step or Cancel.

uint64_t action_sequence

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

endpoint_id

Field

Endpoint identifier of the execution.

uint64_t endpoint_id

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

execution_generation

Field

Execution generation of the execution.

uint64_t execution_generation

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

kind

Field

Action kind: START, STEP, or CANCEL.

uint32_t kind

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

#PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_NONE is rejected.

reserved

Field

Reserved; must be 0.

uint64_t reserved

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

session_generation

Field

HSMS session generation of the execution.

uint64_t session_generation

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

struct_size

Field

Size of this structure; set to sizeof(PdcommGemFormattedProgramExecutionActionToken) or larger.

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

version

Field

Must be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_TOKEN_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_executions.h>