Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 9 of 9) sorted by relevance

/oneTBB/test/common/
H A Dchecktype.h55 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 Dparallel_invoke_common.h31 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 Diterator.h98 typedef std::atomic<size_t> Counter; typedef
100 Counter epoch;
101 Counter refcounter;
H A Dutils.h421 struct Counter {
/oneTBB/test/conformance/
H A Dconformance_mutex.h28 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 Dconformance_concurrent_hash_map.cpp963 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 Dtest_mutex.h30 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 Dtest_semaphore.cpp110 struct Counter { struct
113 Counter() : value(0) {} in Counter() argument
136 Counter<tbb::detail::r1::binary_semaphore> counter; in test_binary_semaphore()
H A Dtest_mutex.cpp100 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()