diff options
author | Alistair Veitch <aveitch@google.com> | 2015-10-20 17:56:03 -0700 |
---|---|---|
committer | Alistair Veitch <aveitch@google.com> | 2015-10-20 17:56:03 -0700 |
commit | 72badb47778d921386552494a577e1650c562f31 (patch) | |
tree | 29151203dbf4f13b45eea93aa79c18cc32e7c875 | |
parent | c11e8472b5efe943ee117d3a15373174a91337e1 (diff) |
more verbose message
-rw-r--r-- | test/core/support/cpu_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/support/cpu_test.c b/test/core/support/cpu_test.c index 382c0ba6d1..c10484eaf7 100644 --- a/test/core/support/cpu_test.c +++ b/test/core/support/cpu_test.c @@ -123,12 +123,14 @@ static void cpu_test(void) { gpr_cv_wait(&ct.done_cv, &ct.mu, gpr_inf_future(GPR_CLOCK_REALTIME)); } gpr_mu_unlock(&ct.mu); + fprintf(stderr, "Saw cores ["); for (i = 0; i < ct.ncores; i++) { if (ct.used[i]) { + fprintf(stderr, "%d,", i); cores_seen++; } } - fprintf(stderr, "Saw %d/%d cores\n", cores_seen, ct.ncores); + fprintf(stderr, "] (%d/%d)\n", cores_seen, ct.ncores); } int main(int argc, char *argv[]) { |