summaryrefslogtreecommitdiff
path: root/benchmarks/gem_wsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/gem_wsim.c')
-rw-r--r--benchmarks/gem_wsim.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c
index 298e788c..f9c4b526 100644
--- a/benchmarks/gem_wsim.c
+++ b/benchmarks/gem_wsim.c
@@ -1789,6 +1789,8 @@ static void print_help(void)
" number as listed above.\n"
" -2 Remap VCS2 to BCS.\n"
" -R Round-robin initial VCS assignment per client.\n"
+" -H Send heartbeat on synchronisation points with seqno based\n"
+" balancers. Gives better engine busyness view in some cases.\n"
" -S Synchronize the sequence of random batch durations between\n"
" clients.\n"
" -G Global load balancing - a single load balancer will be shared\n"
@@ -2021,6 +2023,12 @@ int main(int argc, char **argv)
}
}
+ if ((flags & HEARTBEAT) && !(flags & SEQNO)) {
+ if (verbose)
+ fprintf(stderr, "Heartbeat needs a seqno based balancer!\n");
+ return 1;
+ }
+
if (!nop_calibration) {
if (verbose > 1)
printf("Calibrating nop delay with %u%% tolerance...\n",