Fix scale in tracing
This commit is contained in:
4
uc.c
4
uc.c
@ -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
|
Reference in New Issue
Block a user