Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

Command-Line Options

Running the measurement monitoring sample with the
-h
option yields the following usage message:
Usage: [environment variables] tcc_measurement_monitoring_sample
Environment variables setup:
  • TCC_MEASUREMENTS_BUFFERS: Specify the measurement instances inside the profiled application to use to collect the measurement history. Format:
    <measurement_name>:<buffer_size>[:<deadline>][,<measurement_name>:<buffer_size>[:<deadline>]]...
    , where measurement_name is the measurement name passed to
    __itt_string_handle_create()
    in the profiled application, the buffer size is the number of measurements to store, and the deadline is the maximum tolerable latency for each iteration in time units set by TCC_MEASUREMENTS_TIME_UNIT environment variable.
  • TCC_MEASUREMENTS_TIME_UNIT: Specify the time unit that will be used to store the results.
    • “clk” for CPU clock cycles
    • “ns” for nanoseconds
    • “us” for microseconds
  • TCC_MEASUREMENTS_DUMP_FILE: File where measurements are logged after the program finishes.
Option
Description
-h | --help
Optional. Print command-line help.

Product and Performance Information

1

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