Developer Guide

  • 2021.1
  • 11/03/2021
  • Public
Contents

Setup

You can run the multiple measurements sample with command-line options to see how it uses the measurement library. This guide provides example commands and outputs. Before attempting to run the sample, make sure you have completed the following prerequisites.

Prerequisites

This guide is based on a host-target setup. Confirm that you have a host system and a target system that are configured according to the Get Started Guide.

Confirm Real-Time Kernel

Confirm that the target system is running the real-time kernel.
  1. From your host system, connect to the target system:
    ssh <user>@<target>
  2. In the SSH session, run the following command to get the name of the current kernel:
    uname -r
  3. Confirm that the output contains
    intel-preempt-rt
    . Example output:
    5.4.52-rt31-intel-preempt-rt
  4. If the output does not contain
    intel-preempt-rt
    , reboot the target system and make sure to select the RT kernel.

Build the Sample

The Intel® TCC Tools package for the target system contains a prebuilt binary of this sample. The binary is configured to run from any directory on the target system.
If you want to build the sample, use the provided makefile.

Run the Sample

After completing the setup, try these examples:

Product and Performance Information

1

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