lkml.org 
[lkml]   [2020]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH tip/core/rcu 17/30] refperf: Label experiment-number column "Runs"
    Date
    From: "Paul E. McKenney" <paulmck@kernel.org>

    The experiment-number column is currently labeled "Threads", which is
    misleading at best. This commit therefore relabels it as "Runs", and
    adjusts the scripts accordingly.

    Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
    Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
    ---
    kernel/rcu/refperf.c | 2 +-
    tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/kernel/rcu/refperf.c b/kernel/rcu/refperf.c
    index 445190b..2d2d227 100644
    --- a/kernel/rcu/refperf.c
    +++ b/kernel/rcu/refperf.c
    @@ -415,7 +415,7 @@ static int main_func(void *arg)

    buf[0] = 0;
    strcat(buf, "\n");
    - strcat(buf, "Threads\tTime(ns)\n");
    + strcat(buf, "Runs\tTime(ns)\n");

    for (exp = 0; exp < nruns; exp++) {
    if (errexit)
    diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh
    index 6fc06cd..0660f3f 100755
    --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh
    +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh
    @@ -24,7 +24,7 @@ configfile=`echo $i | sed -e 's/^.*\///'`

    sed -e 's/^\[[^]]*]//' < $i/console.log | tr -d '\015' |
    awk -v configfile="$configfile" '
    -/^[ ]*Threads Time\(ns\) *$/ {
    +/^[ ]*Runs Time\(ns\) *$/ {
    if (dataphase + 0 == 0) {
    dataphase = 1;
    # print configfile, $0;
    --
    2.9.5
    \
     
     \ /
      Last update: 2020-06-23 02:32    [W:4.331 / U:0.212 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site