Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

Processor Checker Script

This script is used by the data streams optimizer tool on the target system to get the processor name.
To support Windows* OS as a target, the Intel® TCC Tools package contains an example of a modified script. It reads the processor name from the Windows* OS register.
If you have a Windows OS target with UEFI BIOS, you can use the example without modifications to run data streams optimizer.
If you have a different Windows* environment, you can copy and modify the script. The script must meet the following requirements to maintain compatibility with the data streams optimizer:
  • Input: No arguments.
  • Output: The script must only print a string with CPU name to STDOUT.
  • Error handling: Any nonzero value returned from the script will be interpreted as an error. Any additional logging should be printed to STDERR.
Example:
Command line: tools/target_scripts_win/processor_checker.py STDOUT: 11th Gen Intel(R) Core(TM) i3-1115GRE Return value: 0 STDERR: empty

Product and Performance Information

1

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