change time from sec to ms

This commit is contained in:
evghenii
2013-11-10 14:04:01 +01:00
parent 9d23c10475
commit c1b3face8f

View File

@@ -109,7 +109,7 @@ int main(int argc, char** argv) {
ispc::RenderStatic(input->header, input->arrays,
VISUALIZE_LIGHT_COUNT,
framebuffer.r, framebuffer.g, framebuffer.b);
double mcycles = (rtc() - t0) / nframes;
double mcycles = 1000*(rtc() - t0) / nframes;
ispcCycles = std::min(ispcCycles, mcycles);
}
printf("[ispc static + tasks]:\t\t[%.3f] million cycles to render "