/* ================================================================== 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 ================================================================== $Id: pmapdiag.h,v 2.2 2015/04/21 19:16:51 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 _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; 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