15 #ifndef __UT_CONCURRENTSET_H_INCLUDED__
16 #define __UT_CONCURRENTSET_H_INCLUDED__
20 #include <tbb/concurrent_unordered_set.h>
25 #define UT_ConcurrentSet tbb::concurrent_unordered_set
27 template<
typename K,
typename H,
typename E,
typename A>
36 mem += set.bucket_count()*(
sizeof(intptr_t) +
sizeof(
void *));
39 mem += set.size()*(
sizeof(intptr_t) +
sizeof(
void *) +
sizeof(K));
44 #endif // __UT_CONCURRENTSET_H_INCLUDED__
int64 UTgetMemoryUsage(const UT_ConcurrentSet< K, H, E, A > &set, const bool inclusive)