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

Comparing ray/src/rt/pmapdiag.h (file contents):
Revision 2.2 by greg, Tue Apr 21 19:16:51 2015 UTC vs.
Revision 2.8 by greg, Tue Sep 17 16:36:05 2024 UTC

# Line 1 | Line 1
1 + /* RCSid $Id$ */
2 +
3   /*
4     ==================================================================
5     Photon map diagnostic output and progress reports
6  
7     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
8     (c) Fraunhofer Institute for Solar Energy Systems,
9 <       Lucerne University of Applied Sciences & Arts
9 >   (c) Lucerne University of Applied Sciences and Arts,
10 >   supported by the Swiss National Science Foundation (SNSF, #147053)
11     ==================================================================
12    
13     $Id$
# Line 33 | Line 36
36     #include  <time.h>  
37     #include  <signal.h>
38    
39 <   #ifdef _WIN32
40 <      #ifndef SIGCONT
41 <         #define SIGCONT        0
42 <      #endif
40 <   #endif
41 <  
42 <  
39 > #ifdef __cplusplus
40 > extern "C" {
41 > #endif
42 >
43     /* Time at start & last report */
44     extern time_t repStartTime, repLastTime;  
45     /* Report progress & completion counters */
46 <   extern unsigned long repProgress, repComplete;              
46 >   extern unsigned long repProgress, repComplete, repEmitted;              
47  
48  
49     void pmapDistribReport ();
# Line 55 | Line 55
55     void pmapBiasCompReport (char *stats);  
56     /* Append full bias compensation statistics to stats; interface to
57      * rpict's report() */
58 <  
58 >
59 > #ifdef PMAP_OOC    
60 >   void pmapOOCCacheReport (char *stats);
61 >   /* Append full OOC I/O cache statistics to stats; interface to rpict's
62 >    * report() */    
63 > #endif
64 >
65 > #ifdef __cplusplus
66 > }
67 > #endif
68 >
69   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines