Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimNeuralModelRuntimeStats Struct Reference

Accumulated runtime counters for a registered model. More...

#include <neural_models.h>

Public Attributes

uint64_t invocation_count
 
uint64_t success_count
 
uint64_t failure_count
 
uint64_t total_elements
 
double last_wall_ms
 
double total_wall_ms
 
size_t last_step_index
 
double last_sim_time
 
SimResult last_result
 
SimNeuralExecutionDevice last_device
 
char last_error [SIM_NEURAL_MODEL_ERROR_MAX+1U]
 

Detailed Description

Accumulated runtime counters for a registered model.

Member Data Documentation

◆ failure_count

uint64_t SimNeuralModelRuntimeStats::failure_count

Calls returning a non-OK result.

◆ invocation_count

uint64_t SimNeuralModelRuntimeStats::invocation_count

Number of attempted inference calls.

◆ last_device

SimNeuralExecutionDevice SimNeuralModelRuntimeStats::last_device

Device routed for the latest call.

◆ last_error

char SimNeuralModelRuntimeStats::last_error[SIM_NEURAL_MODEL_ERROR_MAX+1U]

Latest error text.

◆ last_result

SimResult SimNeuralModelRuntimeStats::last_result

Result from the latest call.

◆ last_sim_time

double SimNeuralModelRuntimeStats::last_sim_time

Context simulation time at latest call.

◆ last_step_index

size_t SimNeuralModelRuntimeStats::last_step_index

Context step index at latest call.

◆ last_wall_ms

double SimNeuralModelRuntimeStats::last_wall_ms

Wall-clock duration of the latest call.

◆ success_count

uint64_t SimNeuralModelRuntimeStats::success_count

Calls returning SIM_RESULT_OK.

◆ total_elements

uint64_t SimNeuralModelRuntimeStats::total_elements

Total input elements observed.

◆ total_wall_ms

double SimNeuralModelRuntimeStats::total_wall_ms

Accumulated wall-clock duration.


The documentation for this struct was generated from the following file: