Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

Command-Line Options

Running the single measurement sample with the
-h
option yields the following usage message:
Usage: tcc_single_measurement_sample -a N [-i N] [-d N<,clk|,ns|,us>] [-o]
Option
Description
-a | --approximation N
Required. Calculates the Nth approximation of 2/pi.
-i | --iterations N
Optional. Execute N iterations of the main loop to gather more precise timing statistics. (default: 1,000)
-d | --deadline N<,clk|,ns|,us>
Optional. Specify the maximum tolerable latency for each iteration in N CPU clock cycles (clk), nanoseconds (ns), or microseconds (us). Default: 0 (no deadline).
For example:
  • Clock cycles:
    --deadline 1000,clk
  • Nanoseconds:
    --deadline 1000,ns
  • Microseconds:
    --deadline 1000,us
-o | --emulate-outliers
Optional. Enable emulation of outliers (amount about 20 percent).
-h | --help
Show this help message and exit.

Product and Performance Information

1

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