diff options
author | Karsten Blees <karsten.blees@gmail.com> | 2014-07-12 02:07:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-13 21:25:21 -0700 |
commit | 132d41e69a460f1bb72ba9eb41c513c42d9a8532 (patch) | |
tree | 524ff5ec7ba092027d34f188cf93648b80c4078b /compat/precompose_utf8.c | |
parent | git: add performance tracing for git's main() function to debug scripts (diff) | |
download | tgif-132d41e69a460f1bb72ba9eb41c513c42d9a8532.tar.xz |
wt-status: simplify performance measurement by using getnanotime()
Calculating duration from a single uint64_t is simpler than from a struct
timeval. Change performance measurement for 'advice.statusuoption' from
gettimeofday() to getnanotime().
Also initialize t_begin to prevent uninitialized variable warning.
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/precompose_utf8.c')
0 files changed, 0 insertions, 0 deletions