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