]> granicus.if.org Git - strace/commit
count: substract overhead per call
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 2 Sep 2018 20:07:07 +0000 (22:07 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 6 Aug 2019 13:38:20 +0000 (13:38 +0000)
commite8ab8ef0d4596742c589c67cfe10320c135e0bf2
treea3dfc8db070495d4edb2cda27c8930e517fdebc2
parent4b2175f5261558817b86e62bd68a656184ee43ec
count: substract overhead per call

* count.c (zero_ts): New variable.
(count_syscall): Calculate the spent time in the wts variable, then add
it to cc->time.
(call_summary_pers): Do not perform overhead correction.
count.c