tests: systemclock: scale stress test threads according to number of cpus
authorTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 18:39:50 +0000 (18:39 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 18:39:50 +0000 (18:39 +0000)
commitdb0c54c5c8299f751a6f1ac249ed792a50748c51
tree23078745c2806e02c68868ac0e36d9ae57065dde
parent5feff26624068611460fafe5547eb4046726d527
tests: systemclock: scale stress test threads according to number of cpus

Scale the number of threads used in the stress tests according to
the number of cores/cpus. We want some contention, but we also
don't want too much contention, as some operating systems are
better at handling 100 threads running wild on a single core
than others.
tests/check/gst/gstsystemclock.c