diff options
Diffstat (limited to 'benchmarks/GCbench.c')
-rw-r--r-- | benchmarks/GCbench.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/benchmarks/GCbench.c b/benchmarks/GCbench.c index bafb3ec..fdb9971 100644 --- a/benchmarks/GCbench.c +++ b/benchmarks/GCbench.c @@ -104,7 +104,7 @@ helper (void *arg) { pthread_setactivity_np (hog_activity); - struct activity_info info; + struct vg_activity_info info; void wait_read_stats (void) { @@ -113,12 +113,12 @@ helper (void *arg) /* First the main thread. */ error_t err; - err = vg_activity_info (gc_activity, activity_info_stats, + err = vg_activity_info (gc_activity, vg_activity_info_stats, stat_count == 0 ? 0 : stats[stat_count - 1].period + 1, &info); assert_perror (err); - assert (info.event == activity_info_stats); + assert (info.event == vg_activity_info_stats); assert (info.stats.count > 0); stats[stat_count].alloced[0] @@ -132,12 +132,12 @@ helper (void *arg) stats[stat_count].iter = iter; /* Then, the hog. */ - err = vg_activity_info (hog_activity, activity_info_stats, + err = vg_activity_info (hog_activity, vg_activity_info_stats, stat_count == 0 ? 0 : stats[stat_count - 1].period + 1, &info); assert_perror (err); - assert (info.event == activity_info_stats); + assert (info.event == vg_activity_info_stats); assert (info.stats.count > 0); stats[stat_count].alloced[1] @@ -244,7 +244,7 @@ helper_fork (void) if (VG_ADDR_IS_VOID (gc_activity)) panic ("Failed to allocate main activity"); - struct object_name name; + struct vg_object_name name; snprintf (&name.name[0], sizeof (name.name), "gc.%x", l4_myself ()); vg_object_name (VG_ADDR_VOID, gc_activity, name); @@ -259,7 +259,7 @@ helper_fork (void) /* We give the main thread and the hog the same priority and weight. */ - struct activity_policy in, out; + struct vg_activity_policy in, out; memset (&in, 0, sizeof (in)); in.sibling_rel.priority = 1; in.sibling_rel.weight = 10; |