AFBR-S50 API Reference Manual  v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software

A utility module that measures execution times of tasks. More...

Collaboration diagram for Task Profiler:

Macros

#define PROFILING   0
 Enabled the profiler as preprocessor option. More...
 

Detailed Description

A utility module that measures execution times of tasks.


This module provides basic functionality to do a simple profiling of the scheduler tasks.

UNDER CONSTRUCTION!

This module is under construction and experimental. A function is called before and after executing a task. The consumed time is measured and summed via the platform time.h utility module. For now, a debugger breakpoint can be used to read the data from the device...

Macro Definition Documentation

◆ PROFILING

#define PROFILING   0

Enabled the profiler as preprocessor option.