diff mbox series

[API-NEXT,v1,11/14] example: generator: remove 1 ms sleep on send loop

Message ID 1513008012-9231-12-git-send-email-odpbot@yandex.ru
State New
Headers show
Series None | expand

Commit Message

Github ODP bot Dec. 11, 2017, 4 p.m. UTC
From: Bogdan Pricope <bogdan.pricope@linaro.org>


The 1 ms sleep is reducing total packet throughput.

Signed-off-by: Bogdan Pricope <bogdan.pricope@linaro.org>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 335 (muvarov:devel/api-next_master_merge)
 ** https://github.com/Linaro/odp/pull/335
 ** Patch: https://github.com/Linaro/odp/pull/335.patch
 ** Base sha: 630d8422564ebf4991b468cb38a29e9483fc2ec2
 ** Merge commit sha: 2de2af9eca01b713e51c66fee7a5c7e535502f85
 **/
 example/generator/odp_generator.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c
index 53b397b33..6ee4f6389 100644
--- a/example/generator/odp_generator.c
+++ b/example/generator/odp_generator.c
@@ -655,7 +655,6 @@  static int gen_send_thread(void *arg)
 						   burst_size - ret);
 				burst_start += ret;
 				burst_size -= ret;
-				odp_time_wait_ns(ODP_TIME_MSEC_IN_NS);
 				continue;
 			}
 			EXAMPLE_ERR("  [%02i] packet send failed\n", thr);