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$ |
36 |
|
#include <time.h> |
37 |
|
#include <signal.h> |
38 |
|
|
39 |
< |
#ifdef _WIN32 |
40 |
< |
#ifndef SIGCONT |
41 |
< |
#define SIGCONT 0 |
42 |
< |
#endif |
40 |
< |
#endif |
41 |
< |
|
42 |
< |
|
39 |
> |
#ifdef __cplusplus |
40 |
> |
extern "C" { |
41 |
> |
#endif |
42 |
> |
|
43 |
|
/* Time at start & last report */ |
44 |
|
extern time_t repStartTime, repLastTime; |
45 |
|
/* Report progress & completion counters */ |
46 |
< |
extern unsigned long repProgress, repComplete; |
46 |
> |
extern unsigned long repProgress, repComplete, repEmitted; |
47 |
|
|
48 |
|
|
49 |
|
void pmapDistribReport (); |
55 |
|
void pmapBiasCompReport (char *stats); |
56 |
|
/* Append full bias compensation statistics to stats; interface to |
57 |
|
* rpict's report() */ |
58 |
< |
|
58 |
> |
|
59 |
> |
#ifdef PMAP_OOC |
60 |
> |
void pmapOOCCacheReport (char *stats); |
61 |
> |
/* Append full OOC I/O cache statistics to stats; interface to rpict's |
62 |
> |
* report() */ |
63 |
> |
#endif |
64 |
> |
|
65 |
> |
#ifdef __cplusplus |
66 |
> |
} |
67 |
> |
#endif |
68 |
> |
|
69 |
|
#endif |