gcc/libstdc++-v3/testsuite
Jonathan Wakely 2b92007016
libstdc++: Use __is_single_threaded() in performance tests
With recent glibc releases the __gthread_active_p() function is always
true, so we always append "-thread" onto performance benchmark names.

Use the __gnu_cxx::__is_single_threaded() function instead.

libstdc++-v3/ChangeLog:

	* testsuite/util/testsuite_performance.h: Use
	__gnu_cxx::__is_single_threaded instead of __gthread_active_p().
2024-11-13 17:58:50 +00:00
..
17_intro libstdc++: Do not define _Insert_base::try_emplace before C++17 2024-11-08 14:39:56 +00:00
18_support libstdc++: Deprecate useless <cxxx> compatibility headers for C++17 2024-11-06 12:47:19 +00:00
19_diagnostics
20_util libstdc++: Inline memmove optimizations for std::copy etc. [PR115444] 2024-10-18 14:49:34 +01:00
21_strings libstdc++: Disable parts of new test that depend on constexpr std::string 2024-10-25 10:23:56 +01:00
22_locale libstdc++: Add missing whitespace in dg-do directives 2024-10-11 15:48:17 +01:00
23_containers libstdc++: Fix conversions to key/value types for hash table insertion [PR115285] 2024-11-07 21:58:31 +00:00
24_iterators libstdc++: Avoid using std::__to_address with iterators 2024-10-22 17:08:32 +01:00
25_algorithms libstdc++: Inline memmove optimizations for std::copy etc. [PR115444] 2024-10-18 14:49:34 +01:00
26_numerics libstdc++: Deprecate useless <cxxx> compatibility headers for C++17 2024-11-06 12:47:19 +00:00
27_io libstdc++: Deprecate useless <cxxx> compatibility headers for C++17 2024-11-06 12:47:19 +00:00
28_regex
29_atomics libstdc++: Fix test FAIL due to -Wpointer-arith 2024-09-27 16:28:12 +01:00
30_threads libstdc++: Ignore _GLIBCXX_USE_POSIX_SEMAPHORE if not supported [PR116992] 2024-10-09 13:41:06 +01:00
abi
backward
config
data
decimal
experimental
ext contrib, libcpp, libstdc++: Update to Unicode 16.0 2024-10-08 10:01:47 +02:00
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters libstdc++: Do not use std::vector<bool>::reference default ctor [PR115098] 2024-08-27 14:20:13 +01:00
libstdc++-xmethods
performance libstdc++: Stop using std::unary_function in perf tests 2024-11-13 17:58:50 +00:00
special_functions
std libstdc++: Fix typos in iterator increment for std::text_encoding [PR117520] 2024-11-11 18:57:16 +00:00
tr1
tr2
util libstdc++: Use __is_single_threaded() in performance tests 2024-11-13 17:58:50 +00:00
Makefile.am
Makefile.in