/* ================================================================== 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.1 2015/02/24 19:39:26 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 /* 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