lkml.org 
[lkml]   [2012]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] perf tools: Fix an error on perf-bench document
Date
Hi, Ingo

On Mon, 18 Jun 2012 11:05:01 +0200, Ingo Molnar wrote:
> There's several typos all across the perf bench documentation:
>
> 1)
>
> This perf bench command is general framework for benchmark suites.
>
> s/is general/is a general
>

Will fix.


> 2)
>
> The output of 'perf bench --help' outputs weird looking
> formatting characters like:
>
> .ft C
> % perf bench sched pipe # with no style specified
> (executing 1000000 pipe operations between two tasks)
> Total time:5.855 sec
> 5.855061 usecs/op
> 170792 ops/sec
> .ft
>

I have no idea on this, maybe a problem of asciidoc?


> 3)
>
> This:
>
> all: test all suite (pseudo suite)
>
> s/all suite (psudo suite)/all benchmark suites
>
> (this should be fixed for perf bench mem as well.)
>

Will fix.


> 4)
>
> perf bench mem memcpy -h outputs:
>
> -l, --length <1MB> Specify length of memory to copy. available unit: B, MB, GB (upper and lower)
>
> bad capitalization: s/. a/. A
>
> s/unit/units
>

Will fix too.


> 5)
>
> This:
>
> -c, --clock Use CPU clock for measuring
>
> should probably clarify why the CPU clock matters and what
> measurement is done otherwise.
>

This looks a bit weird. If -c switch was given, it'd use the cycles
event not the cpu-clock event. If omitted, it'd use the gtod().

Thanks,
Namhyung


\
 
 \ /
  Last update: 2012-06-19 11:41    [from the cache]
©2003-2011 Jasper Spaans