Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > Vthread > Vthread__C-Ray__Bench
changeset 2:75c818c6cad1
DataSet print out
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 28 Sep 2011 15:13:46 +0200 |
| parents | 3840d91821c4 |
| children | 80a90f221047 |
| files | c-ray-mt.c |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/c-ray-mt.c Tue Aug 16 20:31:31 2011 +0200 1.2 +++ b/c-ray-mt.c Wed Sep 28 15:13:46 2011 +0200 1.3 @@ -243,6 +243,9 @@ 1.4 return EXIT_FAILURE; 1.5 } 1.6 } 1.7 + 1.8 + snprintf(DataSet,255,"file: %s\nsize: %dx%d\nrays per pixel: %d\nthreads: %d\n", 1.9 + infile, xres, yres, rays_per_pixel, thread_num); 1.10 1.11 1.12 if(!(pixels = malloc(xres * yres * sizeof *pixels))) {
