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.4 by rschregle, Fri May 8 13:20:23 2015 UTC

# Line 4 | Line 4
4  
5     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
6     (c) Fraunhofer Institute for Solar Energy Systems,
7 <       Lucerne University of Applied Sciences & Arts
7 >   (c) Lucerne University of Applied Sciences and Arts,
8 >   supported by the Swiss National Science Foundation (SNSF, #147053)
9     ==================================================================
10    
11     $Id$
# Line 15 | Line 16
16   #include "pmapdiag.h"
17   #include "pmapdata.h"
18   #include "standard.h"
18 #include <signal.h>
19  
20  
21  
# Line 119 | Line 119 | void pmapBiasCompReport (char *stats)
119        eputs(errmsg);
120        fflush(stderr);
121        
122 <      #ifndef BSD
122 >      #ifdef SIGCONT
123           signal(SIGCONT, pmapPreCompReport);
124        #endif
125     }
# Line 180 | Line 180 | void pmapBiasCompReport (char *stats)
180        eputs(errmsg);
181        fflush(stderr);
182        
183 <      #ifndef BSD
183 >      #ifndef SIGCONT
184           signal(SIGCONT, pmapDistribReport);
185        #endif
186     }
# Line 190 | Line 190 | void pmapBiasCompReport (char *stats)
190     void pmapPreCompReport()
191     /* Report global photon precomputation progress */
192     {
193 +      char tmp [512];
194 +      
195        repLastTime = time(NULL);
196        sprintf(errmsg, "%lu precomputed, ", repProgress);
197  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines