ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapdiag.c
(Generate patch)

Comparing ray/src/rt/pmapdiag.c (file contents):
Revision 2.1 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.5 by greg, Tue Aug 18 18:45:55 2015 UTC

# Line 1 | Line 1
1 + #ifndef lint
2 + static const char RCSid[] = "$Id$";
3 + #endif
4   /*
5     ==================================================================
6     Photon map diagnostic output and progress reports
7  
8     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
9     (c) Fraunhofer Institute for Solar Energy Systems,
10 <       Lucerne University of Applied Sciences & Arts
10 >   (c) Lucerne University of Applied Sciences and Arts,
11 >   supported by the Swiss National Science Foundation (SNSF, #147053)
12     ==================================================================
13    
14     $Id$
# Line 15 | Line 19
19   #include "pmapdiag.h"
20   #include "pmapdata.h"
21   #include "standard.h"
18 #include <signal.h>
22  
23  
24  
# Line 119 | Line 122 | void pmapBiasCompReport (char *stats)
122        eputs(errmsg);
123        fflush(stderr);
124        
125 <      #ifndef BSD
125 >      #ifdef SIGCONT
126           signal(SIGCONT, pmapPreCompReport);
127        #endif
128     }
# Line 180 | Line 183 | void pmapBiasCompReport (char *stats)
183        eputs(errmsg);
184        fflush(stderr);
185        
186 <      #ifndef BSD
186 >      #ifndef SIGCONT
187           signal(SIGCONT, pmapDistribReport);
188        #endif
189     }
# Line 190 | Line 193 | void pmapBiasCompReport (char *stats)
193     void pmapPreCompReport()
194     /* Report global photon precomputation progress */
195     {
196 +      char tmp [512];
197 +      
198        repLastTime = time(NULL);
199        sprintf(errmsg, "%lu precomputed, ", repProgress);
200  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines