git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test/spinlock: remove delay for correct benchmarking
[dpdk.git]
/
app
/
test
/
test_spinlock.c
diff --git
a/app/test/test_spinlock.c
b/app/test/test_spinlock.c
index
73bff12
..
6795195
100644
(file)
--- a/
app/test/test_spinlock.c
+++ b/
app/test/test_spinlock.c
@@
-120,8
+120,6
@@
load_loop_fn(void *func_param)
lcount++;
if (use_lock)
rte_spinlock_unlock(&lk);
- /* delay to make lock duty cycle slighlty realistic */
- rte_delay_us(1);
time_diff = rte_get_timer_cycles() - begin;
}
lock_count[lcore] = lcount;