Fix scale in tracing

This commit is contained in:
mio
2022-01-18 19:48:40 +01:00
parent 28e791a37f
commit 0da1f02fde

4
uc.c
View File

@ -2220,7 +2220,7 @@ void trace_end(uc_tracer *tracer, trace_loc loc, const char *fmt, ...)
va_end(args); va_end(args);
fprintf(stderr, "%.6fms\n", fprintf(stderr, "%.6fus\n",
(double)(end - tracer->starts[loc]) / (double)(1000000)); (double)(end - tracer->starts[loc]) / (double)(1000));
} }
#endif #endif