diff options
Diffstat (limited to 'mps/code/mpm.h')
| -rw-r--r-- | mps/code/mpm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mps/code/mpm.h b/mps/code/mpm.h index 404d0bac54a..44b045b0c1d 100644 --- a/mps/code/mpm.h +++ b/mps/code/mpm.h | |||
| @@ -911,7 +911,7 @@ extern Size VMMapped(VM vm); | |||
| 911 | extern void StackProbe(Size depth); | 911 | extern void StackProbe(Size depth); |
| 912 | 912 | ||
| 913 | 913 | ||
| 914 | /* STATISTIC -- gather diagnostics (in some varieties) | 914 | /* STATISTIC -- gather statistics (in some varieties) |
| 915 | * | 915 | * |
| 916 | * The argument of STATISTIC is an expression; the expansion followed by | 916 | * The argument of STATISTIC is an expression; the expansion followed by |
| 917 | * a semicolon is syntactically a statement. | 917 | * a semicolon is syntactically a statement. |
| @@ -920,7 +920,7 @@ extern void StackProbe(Size depth); | |||
| 920 | * a semicolon is syntactically a statement. | 920 | * a semicolon is syntactically a statement. |
| 921 | * | 921 | * |
| 922 | * STATISTIC_WRITE is inserted in WriteF arguments to output the values | 922 | * STATISTIC_WRITE is inserted in WriteF arguments to output the values |
| 923 | * of diagnostic fields. | 923 | * of statistic fields. |
| 924 | * | 924 | * |
| 925 | * .statistic.whitehot: The implementation of STATISTIC for | 925 | * .statistic.whitehot: The implementation of STATISTIC for |
| 926 | * non-statistical varieties passes the parameter to DISCARD to ensure | 926 | * non-statistical varieties passes the parameter to DISCARD to ensure |
| @@ -928,13 +928,13 @@ extern void StackProbe(Size depth); | |||
| 928 | * passed as part of a comma-expression so that its type is not | 928 | * passed as part of a comma-expression so that its type is not |
| 929 | * important. This permits an expression of type void. */ | 929 | * important. This permits an expression of type void. */ |
| 930 | 930 | ||
| 931 | #if defined(DIAGNOSTICS) | 931 | #if defined(STATISTICS) |
| 932 | 932 | ||
| 933 | #define STATISTIC(gather) BEGIN (gather); END | 933 | #define STATISTIC(gather) BEGIN (gather); END |
| 934 | #define STATISTIC_STAT(gather) BEGIN gather; END | 934 | #define STATISTIC_STAT(gather) BEGIN gather; END |
| 935 | #define STATISTIC_WRITE(format, arg) (format), (arg), | 935 | #define STATISTIC_WRITE(format, arg) (format), (arg), |
| 936 | 936 | ||
| 937 | #elif defined(DIAGNOSTICS_NONE) | 937 | #elif defined(STATISTICS_NONE) |
| 938 | 938 | ||
| 939 | #define STATISTIC(gather) DISCARD(((gather), 0)) | 939 | #define STATISTIC(gather) DISCARD(((gather), 0)) |
| 940 | #define STATISTIC_STAT(gather) DISCARD_STAT(gather) | 940 | #define STATISTIC_STAT(gather) DISCARD_STAT(gather) |
| @@ -942,7 +942,7 @@ extern void StackProbe(Size depth); | |||
| 942 | 942 | ||
| 943 | #else | 943 | #else |
| 944 | 944 | ||
| 945 | #error "No diagnostics configured." | 945 | #error "No statistics configured." |
| 946 | 946 | ||
| 947 | #endif | 947 | #endif |
| 948 | 948 | ||