diff options
-rw-r--r-- | eshprof/flat-profile.esh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eshprof/flat-profile.esh b/eshprof/flat-profile.esh index 01201cc..ca00c5d 100644 --- a/eshprof/flat-profile.esh +++ b/eshprof/flat-profile.esh @@ -96,7 +96,7 @@ record() shift 2 case " ${fns} " in - "${name}") + *" ${name} "*) eval "fn_timing_${name}=\$((\${fn_timing_${name}} + \ \${time}))" eval "fn_calls_${name}=\$((\${fn_calls_${name}} + 1))" |