i965: Fix the scaling of seconds to ms in perf debug.

*headdesk*
This commit is contained in:
Eric Anholt 2012-08-13 17:49:06 -07:00
parent d606926013
commit 43e3a7533d
2 changed files with 2 additions and 2 deletions

View File

@ -2119,7 +2119,7 @@ brw_wm_fs_emit(struct brw_context *brw, struct brw_wm_compile *c,
if (start_busy && !drm_intel_bo_busy(intel->batch.last_bo)) {
perf_debug("FS compile took %.03f ms and stalled the GPU\n",
(get_time() - start_time) / 1000);
(get_time() - start_time) * 1000);
}
}

View File

@ -1053,7 +1053,7 @@ brw_vs_emit(struct gl_shader_program *prog, struct brw_vs_compile *c)
}
if (start_busy && !drm_intel_bo_busy(intel->batch.last_bo)) {
perf_debug("VS compile took %.03f ms and stalled the GPU\n",
(get_time() - start_time) / 1000);
(get_time() - start_time) * 1000);
}
}