Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

Test Workload for Windows*

The data streams optimizer on the target system uses this script as an empty sample workload for the Windows* OS.
For a full example of the sample workload, see the workload for Yocto Project*-based board support package,
tools/demo/workloads/bin/mrl_validation_script.py
. To prepare a validation script for your workload, see Create a Workload Validation Script.
The script must meet the following requirements to maintain compatibility with the data streams optimizer:
  • Input: Any arguments, which should be specified in the requirement file.
  • Output: 0 or 1 in return value. 0 means the workload passed, 1 means the workload failed.
  • 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/test_workload.py STDOUT: Info: workload succeeded 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.