summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-bench.c
diff options
context:
space:
mode:
authorHitoshi Mitake <h.mitake@gmail.com>2012-07-02 22:46:17 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-07-02 14:35:45 -0300
commit17d7a1123f0f6d532830152564cc812cc73db2f3 (patch)
tree862d90a311b1bd9fc499c30da74fb5bfb443f4ba /tools/perf/builtin-bench.c
parent339ce005091b156c2af4c016c6ba9c1f87cd826a (diff)
downloadlinux-stable-17d7a1123f0f6d532830152564cc812cc73db2f3.tar.gz
linux-stable-17d7a1123f0f6d532830152564cc812cc73db2f3.tar.bz2
linux-stable-17d7a1123f0f6d532830152564cc812cc73db2f3.zip
perf bench: Fix confused variable namings and descriptions in mem subsystem
As Namhyung Kim pointed, there are confused namings and descriptions of words "cycle" and "clock" in mem-memset.c and mem-memcpy.c. With the option "-c" (or "--clock", now renamed as "--cycle"), mem subsystem measures cost of memset() and memcpy() with cpu-cycles event. But current mem subsystem source code contains lots of confused variable namings and descriptions with "clock" (e.g. the variable use_clock). This is a very bad style because there is another software event named "cpu-clock". This patch replaces wrong usage of "clock" to "cycle". v2: modified Documentation/perf-bench.txt for the descriptions of --cycle option Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1341236777-18457-1-git-send-email-h.mitake@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-bench.c')
0 files changed, 0 insertions, 0 deletions