Instrumentation APIs
Instrumentation 3-25
Example 3-2 gathers information about a value’s difference from a base
value. Figure 3-4 illustrates the current value when measuring differences
from a base value.
Example 3-2. Gathering Information About Differences from Base Value
Figure 3-4. Current Value Deltas from Base Value
The DSP/BIOS online help describes statistics objects and their parameters.
See STS Module in the TMS320 DSP/BIOS API Reference Guide for your
platform for information on the STS module API calls.
STS_set(&sts, baseValue);
"processing"
STS_delta(&sts, currentValue);
STS_set(&sts, baseValue);
"processing"
STS_delta(&sts, currentValue);
STS_set(&sts, baseValue);
"processing"
STS_delta(&sts, currentValue);
STS_set(&sts, baseValue);
"processing"
Time T
T
1
T
0
STS_set
STS_delta
Base value
Current Value x
T
2
T
3
T
4
Dx
1
Dx
2
Dx
T
set
Dx
3
T
set
T
set