1 |
+ |
/* RCSid $Id$ */ |
2 |
+ |
|
3 |
|
/* |
4 |
|
================================================================== |
5 |
|
Photon map diagnostic output and progress reports |
6 |
|
|
7 |
|
Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) |
8 |
|
(c) Fraunhofer Institute for Solar Energy Systems, |
9 |
< |
Lucerne University of Applied Sciences & Arts |
9 |
> |
(c) Lucerne University of Applied Sciences and Arts, |
10 |
> |
supported by the Swiss National Science Foundation (SNSF, #147053) |
11 |
|
================================================================== |
12 |
|
|
13 |
|
$Id$ |
34 |
|
#endif |
35 |
|
|
36 |
|
#include <time.h> |
37 |
+ |
#include <signal.h> |
38 |
|
|
39 |
< |
|
39 |
> |
|
40 |
|
/* Time at start & last report */ |
41 |
|
extern time_t repStartTime, repLastTime; |
42 |
|
/* Report progress & completion counters */ |
43 |
< |
extern unsigned long repProgress, repComplete; |
43 |
> |
extern unsigned long repProgress, repComplete, repEmitted; |
44 |
|
|
45 |
|
|
46 |
|
void pmapDistribReport (); |
52 |
|
void pmapBiasCompReport (char *stats); |
53 |
|
/* Append full bias compensation statistics to stats; interface to |
54 |
|
* rpict's report() */ |
55 |
+ |
|
56 |
+ |
#ifdef PMAP_OOC |
57 |
+ |
void pmapOOCCacheReport (char *stats); |
58 |
+ |
/* Append full OOC I/O cache statistics to stats; interface to rpict's |
59 |
+ |
* report() */ |
60 |
+ |
#endif |
61 |
|
|
62 |
|
#endif |