Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
algorithm_demo_common_args Struct Reference

Arguments common to the demonstration algorithms. More...

#include <demo.h>

Data Fields

struct kv_algorithm_logging logging
 Common logging configuration.
union { 
   uint8_t   event_gen_chance 
 Chance to emit an event on each buffer (%) More...
   uint16_t   compute_metric_len 
 Number of samples to compute metric over. More...
}; 

Detailed Description

Arguments common to the demonstration algorithms.

Field Documentation

◆ [union]

◆ compute_metric_len

uint16_t algorithm_demo_common_args::compute_metric_len

Number of samples to compute metric over.

◆ event_gen_chance

uint8_t algorithm_demo_common_args::event_gen_chance

Chance to emit an event on each buffer (%)

◆ logging

struct kv_algorithm_logging algorithm_demo_common_args::logging

Common logging configuration.


The documentation for this struct was generated from the following file:
  • infuse/algorithm_runner/algorithms/demo.h