Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

Measurement and Analysis Tools

Intel® TCC Tools include auxiliary features to help you check real-time system configuration and understand bottlenecks in your code. These tools are:
  • Real-time readiness checker
  • Measurement library
The
real-time readiness checker
is a set of command-line tools that check the many attributes that may be affecting real-time performance, such as processor model, BIOS version, BIOS settings, and other dependencies. The tool can be used at the beginning of development to verify the initial setup, and later in the product lifecycle as needed for quick checks and debugging.
The
measurement library
is a set of C APIs to help you analyze different aspects of your application’s performance and identify bottlenecks, for example, those can then be alleviated by the cache allocation library. Provided sample applications show ways to instrument your application with the APIs and visualize gathered data.
Learn more about these tools and samples:
Tool
Description
Command-line tools for Linux* OS and UEFI BIOS that check system readiness for real-time applications by detecting and verifying the many attributes that may be affecting real-time performance, such as processor model, BIOS version, BIOS settings, and other dependencies.
C APIs that help analyze different aspects of your application’s performance and identify bottlenecks which can then be alleviated (for instance, by the cache allocation library).
C application that demonstrates how to use the measurement library to instrument one part of an application, such as the entire real-time cycle. Run the sample to see library capabilities, such as collecting execution time (min, max, average, and jitter) and deadline monitoring. Copy and modify source code to add the APIs to your real-time application.
C application that demonstrates how to use the measurement library to instrument multiple parts of an application, such as the entire cycle and various parts of it to pinpoint latency sources more precisely. Demonstrates a lighter weight application that does not print or analyze its own data. Intended to be run with the measurement analysis sample for data collection and visualization. Copy and modify source code to add the APIs to your real-time application.
Universal tool, written in Python* programming language, that collects and analyzes data from any application instrumented with the appropriate measurement library APIs. Performs two types of analysis: “post-process analysis” (after the application closes), such as creation of histograms, and “stream monitoring” (while the application is running). Source code is provided for possible adaptation.
C application that monitors measurements generated by the single measurement sample, which serves as a proxy real-time application. Demonstrates “stream monitoring”, where the monitoring sample runs at the same time as the single measurement sample and prints latency measurements and deadline violations as they occur. Intended for those who want to integrate such monitoring with other parts of their environment such as validation applications or scripts, where C is preferable as a common denominator that can be added everywhere. Copy and modify source code to tailor the monitoring sample to your real-time application.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.