Skip to content

Latest commit

 

History

History

README.md

SDS Template Application

The SDS template application is a test framework for DSP and ML algorithms. It allows recording and playback of real-world data streams using physical hardware and supports playback on FVP simulation models to an user algorithm under test.

The template contains two projects:

  • DataTest.cproject.yml check the SDSIO interface with SDS test data files. Use algorithm_config.h to configure parameters.
  • AlgorithmTest.cproject.yml verify an user algorithm with recording and playback of SDS data files.

The SDSIO-Layer implements the SDSIO interface that connects to the SDSIO-Server, File System, or VSI3 FVP simulation interface. For more information refer to:

Measuring CPU load

Both projects measure the CPU utilization and output this information. This information gives you an indication of how much CPU time is available for the user application while the SDS is running.

The idle time is the time during which the CPU is not executing the application code. During this time it executes the idle thread, incrementing the idle_cnt counter. The code for incrementing the idle counter when the application is using CMSIS-RTX RTOS is located in the osRtxIdleThread:

__NO_RETURN void osRtxIdleThread(void *argument) {
  (void)argument;

  for (;;) {
    idle_cnt++;
  }
}