Skip to content
Start free evaluation

PdcommGemFormattedProgramSelectionToken

Struct

Identity of one selection, returned by pdcomm_gem_formatted_program_select().

typedef struct PdcommGemFormattedProgramSelectionToken { ... } PdcommGemFormattedProgramSelectionToken

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

Treat the counters as opaque values and pass the token back unchanged. The token matches the current selection only when every counter and the endpoint identity are equal.

Members

endpoint_id

Field

Identity of the endpoint that made the selection.

uint64_t endpoint_id

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

entry_generation

Field

Generation of the selected store entry at the time of selection.

uint64_t entry_generation

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

reserved

Field

Set to 0.

uint32_t reserved

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

selection_generation

Field

Selection revision; increases with every new selection and every clear.

uint64_t selection_generation

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

session_generation

Field

HSMS session generation in which the selection was made.

uint64_t session_generation

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

store_revision

Field

Store revision at the time of selection.

uint64_t store_revision

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

struct_size

Field

Structure size; set it to at least sizeof(PdcommGemFormattedProgramSelectionToken).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_selections.h>

Receives the size written.

version

Field

Set to #PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_TOKEN_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_selections.h>