|
|
@ -72,8 +72,8 @@ struct cpu_test { |
|
|
|
uint32_t ncores; |
|
|
|
uint32_t ncores; |
|
|
|
int is_done; |
|
|
|
int is_done; |
|
|
|
gpr_cv done_cv; |
|
|
|
gpr_cv done_cv; |
|
|
|
int *used; /* is this core used? */ |
|
|
|
int *used; /* is this core used? */ |
|
|
|
unsigned r; /* random number */ |
|
|
|
unsigned r; /* random number */ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
static void worker_thread(void *arg) { |
|
|
|
static void worker_thread(void *arg) { |
|
|
|