Developer Guide

  • 2021.3
  • 11/18/2021
  • Public

Single Measurement Sample

Samples are intended to demonstrate how to write code using certain features. They are not performance benchmarks. The output examples shown here are for illustration only. Your output may vary.
The single measurement sample (
) is a self-contained example program demonstrating how to use the measurement library to measure the latency of one part of an application, such as the overall real-time cycle.
The sample shows how you can use the library to collect various latency statistics in CPU clock cycles, nanoseconds, or microseconds. In addition, you can set and react to deadlines and store latency values in a circular shared memory buffer for external application processing.

File Locations

After installing the Intel® TCC Tools package on the target system, you can find sample sources and binaries in the following directories:
Target system:
  • Sample sources:
  • Sample binaries:

Source Files

Main file containing sample code.

Learn More

Read more about this sample and run the examples to see how it uses the measurement library:

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at