tests: Add test program for C++ threads
authorJason Lowe-Power <jason@lowepower.com>
Tue, 25 Jul 2017 19:01:46 +0000 (14:01 -0500)
committerJason Lowe-Power <jason@lowepower.com>
Thu, 15 Mar 2018 20:45:34 +0000 (20:45 +0000)
commit65d0a6b3accbb168300d9c4f18845e6fb8a96e77
treeda15f74bb2d697209f824a8334a51b518ab63865
parentb26f70cccc602dcb2b3e49b5ece5eb366b0844c5
tests: Add test program for C++ threads

Simple program that spawns threads equal to the number of CPU cores and
has some false sharing for testing coherence protocols.

Change-Id: I5be907fd6fea9a8b8e80b63785d186619be41354
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/8901
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
tests/test-progs/threads/bin/x86/linux/threads [new file with mode: 0755]
tests/test-progs/threads/src/Makefile [new file with mode: 0644]
tests/test-progs/threads/src/threads.cpp [new file with mode: 0644]