add script for measuring performance

This commit is contained in:
Ilia Filippov
2013-07-01 13:30:49 +04:00
parent 0dd1dbb568
commit 806e37338c
6 changed files with 280 additions and 4 deletions

View File

@@ -207,7 +207,7 @@ int main(int argc, char *argv[]) {
printf("[volume serial]:\t\t[%.3f] millon cycles\n", minSerial);
writePPM(image, width, height, "volume-serial.ppm");
printf("\t\t\t\t(%.2fx speedup from ISPC serial, %.2fx from ISPC+tasks)\n",
printf("\t\t\t\t(%.2fx speedup from ISPC, %.2fx speedup from ISPC + tasks)\n",
minSerial/minISPC, minSerial / minISPCtasks);
return 0;