With PCMark 10 Professional Edition, you can run PCMark 10 benchmarks from the command line.

  1. Go to the Windows 10 start screen
  2. Type CMD
  3. Right-click on the Command Prompt app
  4. Select Run as Administrator

Type the command below in the Command Prompt window and press enter.

PCMark10Cmd.exe [options] 


There are no check for compatibility when running benchmarks from the command line. 

You can force every test to run on Arm-powered devices from the command line. Note that some workloads in PCMark 10 benchmark and PCMark 10 Extended are not compatible with Arm devices, which means you will not get an overall score for these tests.

The Modern Office and Gaming battery life scenarios are not optimized for Arm devices. The results from these scenarios should not be taken as representative of the battery life capabilities of these devices.


Options

Square brackets, [ ], means an optional parameter where the default value will be used if no parameter is given.

When on/off is omitted with an option, on is assumed.

The parameters to an option can be given either with a space in between (--in myresult.pcmark10-result), or with an equal sign (--in=myresult.pcmark10-result).



CommandDescription
-h, --help

Prints the available command-line options.

--register <product key>

Register PCMark 10 with the given key.

--unregister

Unregister PCMark 10.

-d <benchmark.xml>, 
--definition <benchmark.xml>

Specifies the benchmark definition XML file that defines the tests and settings to be used. See the description below on benchmark definition files.

--loop [<count>]

Set the number of times to loop benchmark. The default is 1. Use 0 for an infinite loop stress test, where the benchmark will not end until aborted.

--in <file.pcmark10-result>

Load the given result file. To be used in conjunction with --online to submit the result online, or with --export-xml or --export-pdf to export the result file.

--out <file.pcmark10-result>

Save the benchmark results to the given result file.

--result-name <name>

Sets the string value “

Name” in the result file.

--result-description <description>

Sets the string value “Description” in the result file.

--export-xml <file.xml>

Export the benchmark results to the given XML file.

--export-pdf <file.pdf>

Export the benchmark results to the given PDF file.

--export-storage <output input_1 ... input_n>

Export storage results to Excel. Argument is a list of files separated by spaces. The first argument is the output file (must end with .xlsx), the rest are the result files that are used as the input. If the argument is used when running a test only the output file is needed.

--systeminfo [on|off]

Collect SystemInfo. We recommend off when running a stress test or long looping test. Default value: off.

--systeminfomonitor [on|off]

Enable SystemInfo Monitoring. Default value: off.

--online [on|off]

Send the benchmark result to UL Online Service. Default value: off.

--log <log-file>

Save benchmark progress log to <log-file>. Logging does not affect scores. 


If this option is not used, the last 1000 lines of logging are saved to the default location:

C:\Users\*username*\Documents\PCMark 10\Log\PCMark10.log

--debug-log

Enable per workload debug logging. Log files for each workload run are saved to: 

C:\Users\*username*\Documents\PCMark10\Log

--trace

Verbose logging

--list-opencl-devices

Lists available OpenCL devices

--video-conferencing-opencl-device <device index>

Specify the OpenCL devices to use for the Video Conferencing test. The device indexes can be listed with the command --list-opencl-devices.

--photo-editing-opencl-device <device index>

Specify the OpenCL devices to use for the Photo Editing test. The device indexes can be listed with the command --list-opencl-devices.

--spreadsheets-opencl-device <device index>

Specify the OpenCL devices to use for the Spreadsheets test. The device indexes can be listed with the command --list-opencl-devices.

--video-editing-opencl-device <device index>

Specify the OpenCL devices to use for the Video Editing test. The device indexes can be listed with the command --list-opencl-devices.

--drive <drive letter>

Specify the drive to use for the storage test

--list-drives <definition file>

List storage devices. The optional argument is a test definition file used to check the compatibility of the drives.

--gpuCount <integer>   

Specify how many GPUs are used. The default value is the GPU count given by SystemInfo, with the fallback value being 1 if SystemInfo isn’t run or fails. 

--recovery

Recover a result after a crash, saved to My documents PCMark 10 folder unless --out is defined

--clean-temporary-files

Cleans temporary files left by previous runs.


--no-scheduled-task

Do not use scheduled tasks when running battery tests.


Examples

These examples assume that there is a custom settings file mybenchmark.pcmdef  in the folder c:\PCMark10Results, and that the user has write permissions to the same directory. Note that these examples omit systeminfo scans - if hardware information is desired, add --systeminfo=on and if hardware monitoring data is desired, add --systeminfomonitor=on to each example.

Run the PCMark 10 benchmark

Run the PCMark 10 benchmark and save the result to a given file. 

PCMark10Cmd.exe --definition=pcm10_benchmark.pcmdef  --out=C:\PCMark10Results\myresults.pcmark10-result

Run the PCMark 10 Express benchmark

Run the PCMark 10 express benchmark and save the result to a given file. 

PCMark10Cmd.exe --definition=pcm10_express.pcmdef --out=C:\PCMark10Results\myresults.pcmark10-result

Run the PCMark 10 Extended benchmark

Run the PCMark 10 extended benchmark and save the result to a given file. 

PCMark10Cmd.exe --definition=pcm10_extended.pcmdef --out=C:\PCMark10Results\myresults.pcmark10-result

Run the PCMark 10 Applications benchmark

Run the PCMark 10 applications benchmark and save the result to a given file. 

PCMark10Cmd.exe --definition=pcm10_applications.pcmdef --out=C:\PCMark10Results\myresults.pcmark10-result

Run a PCMark 10 Storage Benchmark

Run the PCMark 10 Full System Drive Benchmark for C: drive and save the result to a given file. 

PCMark10Cmd.exe --definition=pcm10_storage_full.pcmdef --out=C:\PCMark10Results\myresults.pcmark10-result

Run a PCMark 10 Battery Life benchmark scenario

Run the PCMark 10 Modern Office battery life benchmark and save the result to a given file. 

PCMark10Cmd.exe --definition=pcm10_modern_office_batterylife.pcmdef --out=C:\PCMark10Results\myresults.pcmark10-result

Note that the system must have a battery. Unplug the device from mains power when prompted.

Loop three times

Run the benchmark with a customized "mybenchmark.pcmdef" settings file, looping it three times, and saving the results to myresults.pcmark10-result. There will be three numbered result files, one per run.

PCMark10Cmd.exe --definition=C:\PCMark10Results\mybenchmark.pcmdef --loop=3 --out=C:\PCMark10Results\myresults.pcmark10-result

Load a result file and export it as a PDF file

With a customized "mybenchmark.pcmdef" settings, saving results to myresults.pcmark10-result (there will be three numbered result files, one per run)

PCMark10Cmd.exe --in=C:\PCMark10Results\myresults.pcmark10-result --export-pdf C:\PCMark10Results\myresults.pdf

Recover a result

After a crash or a battery run draining the battery, use --recovery to recover the benchmark result and save the result.

PCMark10Cmd.exe --recovery --out="C:\PCMark10Results\recoveredResult\myresult.pcmark10-result"

Set the OpenCL device to use

To set the OpenCL device to use, first list the available OpenCL devices.

PCMark10Cmd.exe --list-opencl-devices

Set the desired OpenCL device for each test that uses OpenCL with the index listed by the above command, and run the PCMark 10 benchmark.

PCMark10Cmd.exe --video-conferencing-opencl-device=1 --photo-editing-opencl-device=1 --spreadsheets-opencl-device=1 --video-editing-opencl-device=1 --definition=pcm10_benchmark.pcmdef  --out=C:\PCMark10Results\myresults.pcmark10-result