/* RCSid $Id: pmapdiag.h,v 2.8 2024/09/17 16:36:05 greg Exp $ */ /* ================================================================== Photon map diagnostic output and progress reports Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) (c) Fraunhofer Institute for Solar Energy Systems, (c) Lucerne University of Applied Sciences and Arts, supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== $Id: pmapdiag.h,v 2.8 2024/09/17 16:36:05 greg Exp $ */ #ifndef PMAPDIAG_H #define PMAPDIAG_H #include "platform.h" #ifdef NON_POSIX #ifdef MINGW #include #endif #else #ifdef BSD #include #include #else #include #include #endif #endif #include #include #ifdef __cplusplus extern "C" { #endif /* Time at start & last report */ extern time_t repStartTime, repLastTime; /* Report progress & completion counters */ extern unsigned long repProgress, repComplete, repEmitted; void pmapDistribReport (); /* Report photon distribution progress */ void pmapPreCompReport (); /* Report global photon precomputation progress */ 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 #ifdef __cplusplus } #endif #endif