• Hitoshi Mitake's avatar
    perf bench: Improve builtin-bench.c for more friendly output · 79e295d4
    Hitoshi Mitake authored
    This patch makes output of perf bench more friendly.
    Current style of putput, keeping user wait
    and printing everything suddenly when we finish,
    may confuse users.
    
    So I improved it:
    
     | % perf bench sched messaging
     | # Running sched/messaging benchmark...  <- printed right after invocation
     | # 20 sender and receiver processes per group
     | # 10 groups == 400 processes run
     |
     |      Total time: 1.476 [sec]
    Signed-off-by: default avatarHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    LKML-Reference: <1257865442-20252-2-git-send-email-mitake@dcl.info.waseda.ac.jp>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    79e295d4
builtin-bench.c 3.61 KB