1 /* Tune --- tunable parameters.
2 Copyright (C) 1995, 1996 Markus Armbruster & Christian von Roques */
9 /* From the jargon file:
11 :tune: vt. [from automotive or musical usage] To optimize a
12 program or system for a particular environment, esp. by adjusting
13 numerical parameters designed as {hook}s for tuning, e.g., by
14 changing `#define' lines in C. One may `tune for time'
15 (fastest execution), `tune for space' (least memory use), or
16 `tune for configuration' (most efficient use of hardware). See
17 {bum}, {hot spot}, {hand-hacking}.
22 /* Suggested minimal block size for buffered I/O */
23 #define TUNE_SMALL_IOBUF_SIZE 512
25 /* Size of pdeq block cache */
26 #define TUNE_NSAVED_PDEQS 16
29 /* The following numbers are only estimates. If the input exceeds
30 them, the program dynamically enlarges data structures. However,
31 larger values generally mean slower startup. */
34 /* Expected number of distinct identifiers */
35 #define TUNE_NIDENTS 1024
37 /* Expected number of classes */
38 #define TUNE_NCLASSES 128
40 /* Expected number of class types */
41 #define TUNE_NCTYPES 128
43 /* Expected number of routine, stream and stream object types */
44 #define TUNE_NMTYPES 512
46 /* Expected number of method families */
47 #define TUNE_NMFAMILIES (TUNE_NCTYPES * 16)
49 /* Expected number of Intermediate Representation nodes for a method */
50 #define TUNE_NIR_NODES 512
52 /* Expected number of distinct constant target values */
53 #define TUNE_NCONSTANTS 2048
55 /* notify configuration manager to prefetch sources */