/* RCSid $Id: pmapdiag.h,v 2.5 2015/08/18 18:45:55 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.5 2015/08/18 18:45:55 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 /* Time at start & last report */ extern time_t repStartTime, repLastTime; /* Report progress & completion counters */ extern unsigned long repProgress, repComplete; 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() */ #endif