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:
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.
Command line: tools/target_scripts_win/processor_checker.py
STDOUT: 11th Gen Intel(R) Core(TM) i3-1115GRE
Return value: 0