diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-02-26 01:42:39 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-02-26 01:42:39 (EST) |
commit | 58554e7310e90ba871cdf70120034d69e7280717 (patch) | |
tree | 71d8f5dbf4ce13d059f610cbe7d93d69ebf5f35d /eshprof | |
parent | 352090a2aa69b708e924fc912d3442973963e273 (diff) | |
download | eggshell-58554e7310e90ba871cdf70120034d69e7280717.zip eggshell-58554e7310e90ba871cdf70120034d69e7280717.tar.gz eggshell-58554e7310e90ba871cdf70120034d69e7280717.tar.bz2 |
eshprof: Right-justify "self seconds" column heading
Diffstat (limited to 'eshprof')
-rw-r--r-- | eshprof/flat-profile.esh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eshprof/flat-profile.esh b/eshprof/flat-profile.esh index ca00c5d..a9f2d20 100644 --- a/eshprof/flat-profile.esh +++ b/eshprof/flat-profile.esh @@ -165,8 +165,8 @@ show_table() local percent= local calls= - printf ' self\n' - printf '%% time seconds calls name\n' + printf ' self\n' + printf '%% time seconds calls name\n' for fn in ${fns}; do eval "time=\${fn_timing_${fn}}" percent=$(printf 'scale = 2; 100 * %d / %d\n' \ |