Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LalehB committed Sep 16, 2014
1 parent ffd126a commit dea11c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/power/README.md
Expand Up @@ -5,12 +5,12 @@ This script uses PowerMetrics to measure power usage of Servo on OS X
## Running

``` sh
cd servo/test/power
cd servo/tests/power
sudo python PowerMeasure.py
```
You can define the maximum number of threads in layout level, rendering by cpu, benchmarks and output directory with these command line arguments:

- `-b BENCHMARK, --benchmark BENCHMARK` sets the benchmark, for example "-B perf-rainbow.html"
- `-b BENCHMARK, --benchmark BENCHMARK` sets the benchmark, for example '-B "perf-rainbow.html"'
- `-c CPU, --CPU CPU` renders with CPU instead of GPU
- `-l LAYOUTTHREADS, --LayoutThreads LAYOUTTHREADS` sets the maximum number of threads for layout, for example " -L 5"
- `-o OUTPUT, --Output OUTPUT` specifyes the output directory
Expand All @@ -20,5 +20,5 @@ You can define the maximum number of threads in layout level, rendering by cpu,
This command will measure power and performance for 1 to 5 threads in layout with CPU rendering when we are running the about-mozilla.html benchmark

``` sh
sudo python PowerMeasure.py -L 5 -c cpu -b /Desktop/servo/src/test/html/about-mozilla.html -o /Desktop/Results/
sudo python PowerMeasure.py -L 5 -c cpu -b "/Desktop/servo/src/test/html/about-mozilla.html -o /Desktop/Results/"
```

0 comments on commit dea11c5

Please sign in to comment.