mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Make log_clock easier to read.
* common/logging.c (log_clock): Print in microseconds.
This commit is contained in:
parent
f3f5721e68
commit
5c565512b8
@ -876,7 +876,7 @@ log_clock (const char *string)
|
||||
if (!initial)
|
||||
initial = now;
|
||||
|
||||
log_debug ("[%llu] %s", now - initial, string);
|
||||
log_debug ("[%6llu] %s", (now - initial)/1000, string);
|
||||
#else
|
||||
/* You need to link with -ltr to enable the above code. */
|
||||
log_debug ("[not enabled in the source] %s", string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user