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

@@ -259,7 +259,7 @@ int main(int argc, char *argv[]) {
}
printf("[rt serial]:\t\t\t[%.3f] million cycles for %d x %d image\n",
minTimeSerial, width, height);
printf("\t\t\t\t(%.2fx speedup from ISPC, %.2f from ISPC + tasks)\n",
printf("\t\t\t\t(%.2fx speedup from ISPC, %.2fx speedup from ISPC + tasks)\n",
minTimeSerial / minTimeISPC, minTimeSerial / minTimeISPCtasks);
writeImage(id, image, width, height, "rt-serial.ppm");