Core Types API¶
Typedefs
-
typedef struct SeleneErrorModelAPIVersion SeleneErrorModelAPIVersion¶
-
typedef void *SeleneErrorModelInstance¶
-
typedef void *SeleneErrorModelSetResultInstance¶
An instance is provided to
selene_runtime_get_next_operations, which must pass that back to any function it calls in it’s provided [ErrorModelSetResultInterface].
-
typedef struct SeleneErrorModelSetResultInterface SeleneErrorModelSetResultInterface¶
A plugin’s implementation of
selene_runtime_get_next_operationsis provided a pointer to aErrorModelSetResultInterfaceas well as a [ErrorModelSetResultInstance]. It should call the functions within to populate a batch. All such calls must pass the instance as the first parameter.
-
typedef struct SeleneSimulatorAPIVersion SeleneSimulatorAPIVersion¶
-
typedef void *SeleneSimulatorInstance¶
-
typedef struct SeleneRuntimeAPIVersion SeleneRuntimeAPIVersion¶
-
typedef void *SeleneRuntimeGetOperationInstance¶
An instance is provided to
selene_runtime_get_next_operations, which must pass that back to any function it calls in it’s provided [RuntimeGetOperationInterface].
-
typedef struct SeleneRuntimeGetOperationInterface SeleneRuntimeGetOperationInterface¶
A plugin’s implementation of
selene_runtime_get_next_operationsis provided a pointer to aRuntimeGetOperationInterfaceas well as a [RuntimeGetOperationInstance]. It should call the functions within to populate a batch. All such calls must pass the instance as the first parameter.
-
typedef void *SeleneRuntimeExtractOperationInstance¶
-
typedef struct SeleneRuntimeExtractOperationInterface SeleneRuntimeExtractOperationInterface¶
-
typedef int32_t SeleneErrno¶
-
struct SeleneErrorModelAPIVersion
-
struct SeleneErrorModelSetResultInterface
- #include <core_types.h>
A plugin’s implementation of
selene_runtime_get_next_operationsis provided a pointer to aErrorModelSetResultInterfaceas well as a [ErrorModelSetResultInstance]. It should call the functions within to populate a batch. All such calls must pass the instance as the first parameter.Public Members
-
void (*set_bool_result_fn)(SeleneErrorModelSetResultInstance, uint64_t, bool)¶
-
void (*set_u64_result_fn)(SeleneErrorModelSetResultInstance, uint64_t, uint64_t)¶
-
void (*set_bool_result_fn)(SeleneErrorModelSetResultInstance, uint64_t, bool)¶
-
struct SeleneSimulatorAPIVersion
-
struct SeleneRuntimeAPIVersion
-
struct SeleneRuntimeGetOperationInterface
- #include <core_types.h>
A plugin’s implementation of
selene_runtime_get_next_operationsis provided a pointer to aRuntimeGetOperationInterfaceas well as a [RuntimeGetOperationInstance]. It should call the functions within to populate a batch. All such calls must pass the instance as the first parameter.Public Members
-
void (*rzz_fn)(SeleneRuntimeGetOperationInstance, uint64_t, uint64_t, double)¶
-
void (*rxy_fn)(SeleneRuntimeGetOperationInstance, uint64_t, double, double)¶
-
void (*rz_fn)(SeleneRuntimeGetOperationInstance, uint64_t, double)¶
-
void (*measure_fn)(SeleneRuntimeGetOperationInstance, uint64_t, uint64_t)¶
-
void (*measure_leaked_fn)(SeleneRuntimeGetOperationInstance, uint64_t, uint64_t)¶
-
void (*reset_fn)(SeleneRuntimeGetOperationInstance, uint64_t)¶
-
void (*custom_fn)(SeleneRuntimeGetOperationInstance, size_t, const void*, size_t)¶
-
void (*set_batch_time_fn)(SeleneRuntimeGetOperationInstance, uint64_t, uint64_t)¶
-
void (*rzz_fn)(SeleneRuntimeGetOperationInstance, uint64_t, uint64_t, double)¶
-
struct SeleneRuntimeExtractOperationInterface
Public Members
-
void (*extract_fn)(SeleneRuntimeExtractOperationInstance, SeleneRuntimeGetOperationInstance, struct SeleneRuntimeGetOperationInterface)¶
-
void (*extract_fn)(SeleneRuntimeExtractOperationInstance, SeleneRuntimeGetOperationInstance, struct SeleneRuntimeGetOperationInterface)¶