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