change timings to ms

This commit is contained in:
Evghenii
2013-11-18 10:37:17 +01:00
parent 5e2fff91f8
commit 45d6bf196a
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ int main(int argc, char **argv)
reset_and_start_timer();
const double t0 = rtc();
ao_ispc_tasks(width, height, NSUBSAMPLES, fimg);
double t = (rtc() - t0); //get_elapsed_mcycles();
double t = 1e3*(rtc() - t0); //get_elapsed_mcycles();
minTimeISPCTasks = std::min(minTimeISPCTasks, t);
}

View File

@@ -470,7 +470,7 @@ int main(int argc, char **argv)
int arg_2 = height;
int arg_3 = NSUBSAMPLES;
void *func_args[] = {&arg_1, &arg_2, &arg_3, (float*)&d_fimg};
const double t = CUDALaunch(NULL, func_name, func_args);
const double t = 1e3*CUDALaunch(NULL, func_name, func_args);
#endif
minTimeISPCTasks = std::min(minTimeISPCTasks, t);
}