| 4 |
|
|
| 5 |
|
Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) |
| 6 |
|
(c) Fraunhofer Institute for Solar Energy Systems, |
| 7 |
< |
Lucerne University of Applied Sciences & Arts |
| 7 |
> |
(c) Lucerne University of Applied Sciences and Arts, |
| 8 |
> |
supported by the Swiss National Science Foundation (SNSF, #147053) |
| 9 |
|
================================================================== |
| 10 |
|
|
| 11 |
|
$Id$ |
| 16 |
|
#include "pmapdiag.h" |
| 17 |
|
#include "pmapdata.h" |
| 18 |
|
#include "standard.h" |
| 18 |
– |
#include <signal.h> |
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 119 |
|
eputs(errmsg); |
| 120 |
|
fflush(stderr); |
| 121 |
|
|
| 122 |
< |
#ifndef BSD |
| 122 |
> |
#ifdef SIGCONT |
| 123 |
|
signal(SIGCONT, pmapPreCompReport); |
| 124 |
|
#endif |
| 125 |
|
} |
| 180 |
|
eputs(errmsg); |
| 181 |
|
fflush(stderr); |
| 182 |
|
|
| 183 |
< |
#ifndef BSD |
| 183 |
> |
#ifndef SIGCONT |
| 184 |
|
signal(SIGCONT, pmapDistribReport); |
| 185 |
|
#endif |
| 186 |
|
} |
| 190 |
|
void pmapPreCompReport() |
| 191 |
|
/* Report global photon precomputation progress */ |
| 192 |
|
{ |
| 193 |
+ |
char tmp [512]; |
| 194 |
+ |
|
| 195 |
|
repLastTime = time(NULL); |
| 196 |
|
sprintf(errmsg, "%lu precomputed, ", repProgress); |
| 197 |
|
|