Skip to content

Add local platform information

HF edited this page Feb 20, 2016 · 4 revisions

Wu provides custom platform information by the command wu platform. With specific platform information, the benchmark results can be correctly compared or verified.

There are three steps to add local platform information.

Step 1: Save local platform information

mkdir platform/mbp-username
wu platform > platform/mbp-username/platform.json
--  Please give a short name to your computer
--  (For example, mbp-2011 / win-user / linux-fans)
    Enter name:     <--- type a short name

Step 2: Modify .wu/setup.json

  • Open .wu/setup.json
  • Change the platform field as follows
{
    "platform": "mbp-username"
}

Note: the name of the platform should be the same as the folder name in Step 1.

Step 3: Verify

Try wu list to check the result like :

Current platform: mbp-username
...

Successfully done.

Table of Contents

  • Introduction
    • Terminology | [Conventions](Benchmark Organization Conventions)
  • Installation
  • [Configuration](Add local platform information)
  • Contribution
    • [Add a new benchmark](Adding a new benchmark and implementation to an existing suite)
    • [Configure implementation.json](Adding multiple parameters in implementation.json)
    • [Add a new compiler](Adding a new compiler) // To-do
    • [Add a new implementation](Adding a new implementation) // To-do
  • Development // To-do
    • [Work with commands](Work with commands)
    • [Customize jobs](Customize jobs)
Clone this wiki locally