| 18 |
|
|
| 19 |
|
#ifndef CACHESIZE |
| 20 |
|
#ifdef SMLMEM |
| 21 |
< |
#define CACHESIZE 5 |
| 21 |
> |
#define CACHESIZE 10 |
| 22 |
|
#else |
| 23 |
< |
#define CACHESIZE 17 /* default cache size (Mbytes, 0==inf) */ |
| 23 |
> |
#define CACHESIZE 100 /* default cache size (Mbytes, 0==inf) */ |
| 24 |
|
#endif |
| 25 |
|
#endif |
| 26 |
|
#ifndef FREEBEAMS |
| 30 |
|
#define PCTFREE 15 /* maximum fraction to free (%) */ |
| 31 |
|
#endif |
| 32 |
|
#ifndef MAXFRAGB |
| 33 |
< |
#define MAXFRAGB 16 /* fragment blocks/file to track (0==inf) */ |
| 33 |
> |
#define MAXFRAGB 64 /* fragment blocks/file to track (0==inf) */ |
| 34 |
|
#endif |
| 35 |
|
#ifndef FF_DEFAULT |
| 36 |
|
/* when to free a beam fragment */ |
| 246 |
|
} |
| 247 |
|
if (rtrunc) { |
| 248 |
|
sprintf(errmsg, "truncated section, %ld rays lost (%.1f%%)", |
| 249 |
< |
rtrunc, 100.*rtrunc/(rtrunc+biglob(hp)->nrd)); |
| 249 |
> |
(long)rtrunc, |
| 250 |
> |
100.*rtrunc/(rtrunc+biglob(hp)->nrd)); |
| 251 |
|
error(WARNING, errmsg); |
| 252 |
|
} |
| 253 |
|
/* add to holodeck list */ |