Searched refs:Counter (Results 1 – 9 of 9) sorted by relevance
| /oneTBB/test/common/ |
| H A D | checktype.h | 55 template <typename Counter> 92 Counter id() const { in id() 104 if (my_id == Counter(0)) { in get_ready() 105 my_id = Counter(1); in get_ready() 111 Counter my_id; 116 template <typename Counter> 117 struct hash<CheckType<Counter>> { 125 template <typename Counter> 126 std::atomic<int> CheckType<Counter>::check_type_counter; 137 template <typename Counter> [all …]
|
| H A D | parallel_invoke_common.h | 31 template<std::size_t Counter, template <std::size_t> class Functor, class Generator, typename... Fs> 33 …public generate_tuple_impl<Counter - 1, Functor, Generator, typename Generator::template type<Func…
|
| H A D | iterator.h | 98 typedef std::atomic<size_t> Counter; typedef 100 Counter epoch; 101 Counter refcounter;
|
| H A D | utils.h | 421 struct Counter {
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.h | 28 template<typename M, typename Counter = utils::Counter<M>> 32 Counter counter; 145 template<typename M, typename Counter> 146 void TestReaderWriterLock_Impl(Counter& counter, typename M::scoped_lock& lock, const std::size_t i… in TestReaderWriterLock_Impl()
|
| H A D | conformance_concurrent_hash_map.cpp | 963 std::atomic<int> Counter; variable 975 while( Counter<i ) { in operator ()() 996 Counter=i+1; in operator ()() 1031 Counter = 0; in TestConcurrency()
|
| /oneTBB/test/tbb/ |
| H A D | test_mutex.h | 30 struct Counter { struct 172 Counter<M> counter; in test_basic() 175 utils::NativeParallelFor(nthread, Work<Counter<M>, TEST_SIZE>(counter)); in test_basic()
|
| H A D | test_semaphore.cpp | 110 struct Counter { struct 113 Counter() : value(0) {} in Counter() argument 136 Counter<tbb::detail::r1::binary_semaphore> counter; in test_binary_semaphore()
|
| H A D | test_mutex.cpp | 100 utils::Counter<M> counter; in TestTransaction() 106 …for(tbb::blocked_range<std::size_t>(0, n, 2), AddOne_CheckTransaction<utils::Counter<M>>(counter)); in TestTransaction()
|