summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_rwlock.c
AgeCommit message (Collapse)AuthorFilesLines
2019-08-01vppinfra: fix spinlock and rwlock testsFlorin Coras1-9/+9
Type: fix Change-Id: I67b72b5ad03b972198c27bc0d927867f41b0e20b Signed-off-by: Florin Coras <fcoras@cisco.com>
2019-07-31vppinfra: added performance test for clib_rwlock_t (test_rwlock.c)jaszha031-0/+264
Spawns a uniform number of writer and reader threads across a number of cores where each writer thread increments a global variable a specified number of times, and the reader threads continually poll the global's value until the writers complete. Type: test Change-Id: I979c3734c6d03139d0802bff1846875d226f6fbb Signed-off-by: Jason Zhang <jason.zhang2@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Lijian Zhang <Lijian.Zhang@arm.com>