summaryrefslogtreecommitdiff
path: root/rts/Profiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Profiling.c')
-rw-r--r--rts/Profiling.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rts/Profiling.c b/rts/Profiling.c
index 38191ff4bd..c393c8fa83 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -801,11 +801,11 @@ reportCCSProfiling( void )
fprintf(prof_file, " %s", prog_argv[count]);
fprintf(prof_file, "\n\n");
- fprintf(prof_file, "\ttotal time = %11.2f secs (%lu ticks @ %d ms)\n",
- (double) total_prof_ticks *
- (double) RtsFlags.MiscFlags.tickInterval / 1000,
+ fprintf(prof_file, "\ttotal time = %11.2f secs (%lu ticks @ %d us)\n",
+ ((double) total_prof_ticks *
+ (double) RtsFlags.MiscFlags.tickInterval) / TIME_RESOLUTION,
(unsigned long) total_prof_ticks,
- (int) RtsFlags.MiscFlags.tickInterval);
+ (int) TimeToUS(RtsFlags.MiscFlags.tickInterval));
fprintf(prof_file, "\ttotal alloc = %11s bytes",
showStgWord64(total_alloc * sizeof(W_),