aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/amcss.c
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/amcss.c')
-rw-r--r--mps/code/amcss.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mps/code/amcss.c b/mps/code/amcss.c
index 0590f81c0c7..7055bf94b70 100644
--- a/mps/code/amcss.c
+++ b/mps/code/amcss.c
@@ -86,7 +86,7 @@ static void report(mps_arena_t arena)
86 nCollsStart += 1; 86 nCollsStart += 1;
87 printf("\n{\n Collection %d started. Because:\n", nCollsStart); 87 printf("\n{\n Collection %d started. Because:\n", nCollsStart);
88 printf(" %s\n", mps_message_gc_start_why(arena, message)); 88 printf(" %s\n", mps_message_gc_start_why(arena, message));
89 printf(" clock: %lu\n", (unsigned long)mps_message_clock(arena, message)); 89 printf(" clock: %"PRIuLONGEST"\n", (ulongest_t)mps_message_clock(arena, message));
90 break; 90 break;
91 } 91 }
92 case mps_message_type_gc(): { 92 case mps_message_type_gc(): {
@@ -98,10 +98,10 @@ static void report(mps_arena_t arena)
98 not_condemned = mps_message_gc_not_condemned_size(arena, message); 98 not_condemned = mps_message_gc_not_condemned_size(arena, message);
99 99
100 printf("\n Collection %d finished:\n", nCollsDone); 100 printf("\n Collection %d finished:\n", nCollsDone);
101 printf(" live %lu\n", (unsigned long)live); 101 printf(" live %"PRIuLONGEST"\n", (ulongest_t)live);
102 printf(" condemned %lu\n", (unsigned long)condemned); 102 printf(" condemned %"PRIuLONGEST"\n", (ulongest_t)condemned);
103 printf(" not_condemned %lu\n", (unsigned long)not_condemned); 103 printf(" not_condemned %"PRIuLONGEST"\n", (ulongest_t)not_condemned);
104 printf(" clock: %lu\n", (unsigned long)mps_message_clock(arena, message)); 104 printf(" clock: %"PRIuLONGEST"\n", (ulongest_t)mps_message_clock(arena, message));
105 printf("}\n"); 105 printf("}\n");
106 106
107 if(condemned > (gen1SIZE + gen2SIZE + (size_t)128) * 1024) { 107 if(condemned > (gen1SIZE + gen2SIZE + (size_t)128) * 1024) {