1 |
+ |
/* RCSid $Id$ */ |
2 |
+ |
|
3 |
|
/* |
4 |
|
================================================================== |
5 |
|
Photon map diagnostic output and progress reports |
36 |
|
#include <time.h> |
37 |
|
#include <signal.h> |
38 |
|
|
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 |