Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > SSR > SSR__C-Ray__Bench
changeset 1:b6c9e5f46e98
DataSet print out
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 28 Sep 2011 15:12:17 +0200 |
| parents | 11a4bcadac2a |
| children | 8e3accb31ff3 |
| files | c-ray-mt.c |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/c-ray-mt.c Thu Sep 22 14:16:25 2011 +0200 1.2 +++ b/c-ray-mt.c Wed Sep 28 15:12:17 2011 +0200 1.3 @@ -248,7 +248,9 @@ 1.4 return EXIT_FAILURE; 1.5 } 1.6 } 1.7 - 1.8 + 1.9 + snprintf(DataSet,255,"file: %s\nsize: %dx%d\nrays per pixel: %d\nthreads: %d\n", 1.10 + infile, xres, yres, rays_per_pixel, thread_num); 1.11 1.12 if(!(pixels = malloc(xres * yres * sizeof *pixels))) { 1.13 perror("pixel buffer allocation failed");
