Message ID | 1504184408-15360-3-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show |
Series | [v2,1/2] odp-generator: Use clock related functions less when printing | expand |
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index fad83db5..d89bb87a 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -792,7 +792,7 @@ static void print_global_stats(int num_workers) stall = odp_time_to_ns(left); stall = (stall / 1000000000) + 1; stall &= 0xFFFFFFFF; - sleep((unsigned int) stall); + sleep((unsigned int)stall); continue; }