Make log_clock easier to read.

* common/logging.c (log_clock): Print in microseconds.
This commit is contained in:
Werner Koch 2013-01-08 14:35:27 +01:00
parent f3f5721e68
commit 5c565512b8
1 changed files with 1 additions and 1 deletions

View File

@ -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);