--- ray/src/rt/pmapdiag.h 2015/04/21 19:16:51 2.2 +++ ray/src/rt/pmapdiag.h 2016/05/17 17:39:47 2.7 @@ -1,13 +1,16 @@ +/* RCSid $Id: pmapdiag.h,v 2.7 2016/05/17 17:39:47 rschregle Exp $ */ + /* ================================================================== Photon map diagnostic output and progress reports Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) (c) Fraunhofer Institute for Solar Energy Systems, - Lucerne University of Applied Sciences & Arts + (c) Lucerne University of Applied Sciences and Arts, + supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== - $Id: pmapdiag.h,v 2.2 2015/04/21 19:16:51 greg Exp $ + $Id: pmapdiag.h,v 2.7 2016/05/17 17:39:47 rschregle Exp $ */ @@ -33,17 +36,11 @@ #include #include - #ifdef _WIN32 - #ifndef SIGCONT - #define SIGCONT 0 - #endif - #endif - - + /* Time at start & last report */ extern time_t repStartTime, repLastTime; /* Report progress & completion counters */ - extern unsigned long repProgress, repComplete; + extern unsigned long repProgress, repComplete, repEmitted; void pmapDistribReport (); @@ -55,5 +52,11 @@ void pmapBiasCompReport (char *stats); /* Append full bias compensation statistics to stats; interface to * rpict's report() */ + +#ifdef PMAP_OOC + void pmapOOCCacheReport (char *stats); + /* Append full OOC I/O cache statistics to stats; interface to rpict's + * report() */ +#endif #endif