aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/support/cpu_test.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2016-01-06 17:28:40 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2016-01-06 17:28:40 -0800
commit04b3cf6f1964fb66a025a2b974973374b26387be (patch)
treed69e98b1b74a766afec6ee7ccabe343912b8c888 /test/core/support/cpu_test.c
parente8f9ba6b7f904a5b4376093ae631654f97f17e91 (diff)
parentfc5281f66d9bd134d893e23bb45757677b1096c2 (diff)
Merge github.com:grpc/grpc into wtfwin
Diffstat (limited to 'test/core/support/cpu_test.c')
-rw-r--r--test/core/support/cpu_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/support/cpu_test.c b/test/core/support/cpu_test.c
index 010a96bbcb..d0b78f19d5 100644
--- a/test/core/support/cpu_test.c
+++ b/test/core/support/cpu_test.c
@@ -69,7 +69,7 @@
struct cpu_test {
gpr_mu mu;
int nthreads;
- gpr_uint32 ncores;
+ uint32_t ncores;
int is_done;
gpr_cv done_cv;
int *used; /* is this core used? */
@@ -78,7 +78,7 @@ struct cpu_test {
static void worker_thread(void *arg) {
struct cpu_test *ct = (struct cpu_test *)arg;
- gpr_uint32 cpu;
+ uint32_t cpu;
unsigned r = 12345678;
unsigned i, j;
for (i = 0; i < 1000 / GRPC_TEST_SLOWDOWN_FACTOR; i++) {
@@ -109,7 +109,7 @@ static void worker_thread(void *arg) {
}
static void cpu_test(void) {
- gpr_uint32 i;
+ uint32_t i;
int cores_seen = 0;
struct cpu_test ct;
gpr_thd_id thd;