ExecutionData
ExecutionData contains a ResultHandle to the RegisterData containing the results of the program, as well as some metadata about the execution itself. You get an ExecutionData from the Success variant of an ExecutionResult.
Definition
typedef struct ExecutionData {
    unsigned long execution_duration_microseconds;
    struct ResultHandle *handle;
} ExecutionData;
Safety
The memory for any ExecutionData will be freed when calling free_execution_result for the corresponding ExecutionResult. Make sure not to free the ExecutionResult until after you're done with the data.
Attributes
- execution_duration_microsecondsis how long the program took to execute on the QPU. This is always 0 for QVM executions.
- handleis the- ResultHandlethat can be passed to- get_datato get- RegisterDatacontaining the results of the program.