ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapdiag.h
Revision: 2.6
Committed: Tue Sep 1 16:27:52 2015 UTC (8 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.5: +1 -2 lines
Log Message:
Removed redundant $Id: in file

File Contents

# Content
1 /* RCSid $Id: pmapdiag.h,v 2.5 2015/08/18 18:45:55 greg Exp $ */
2 /*
3 ==================================================================
4 Photon map diagnostic output and progress reports
5
6 Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
7 (c) Fraunhofer Institute for Solar Energy Systems,
8 (c) Lucerne University of Applied Sciences and Arts,
9 supported by the Swiss National Science Foundation (SNSF, #147053)
10 ==================================================================
11
12 */
13
14
15 #ifndef PMAPDIAG_H
16 #define PMAPDIAG_H
17
18 #include "platform.h"
19
20 #ifdef NON_POSIX
21 #ifdef MINGW
22 #include <sys/time.h>
23 #endif
24 #else
25 #ifdef BSD
26 #include <sys/time.h>
27 #include <sys/resource.h>
28 #else
29 #include <sys/times.h>
30 #include <unistd.h>
31 #endif
32 #endif
33
34 #include <time.h>
35 #include <signal.h>
36
37
38 /* Time at start & last report */
39 extern time_t repStartTime, repLastTime;
40 /* Report progress & completion counters */
41 extern unsigned long repProgress, repComplete;
42
43
44 void pmapDistribReport ();
45 /* Report photon distribution progress */
46
47 void pmapPreCompReport ();
48 /* Report global photon precomputation progress */
49
50 void pmapBiasCompReport (char *stats);
51 /* Append full bias compensation statistics to stats; interface to
52 * rpict's report() */
53
54 #endif