| 303 | } |
| 304 | |
| 305 | void testParallelLRUCacheRecursion( int numIterations, size_t numValues, int maxCost ) |
| 306 | { |
| 307 | ParallelTestCache &cache = recursiveCache<ParallelTestCache>(); |
| 308 | cache.clear(); |
| 309 | cache.setMaxCost( maxCost ); |
| 310 | tbb::task_group_context taskGroupContext( tbb::task_group_context::isolated ); |
| 311 | parallel_for( blocked_range<size_t>( 0, numIterations ), GetFromParallelRecursiveCache( cache, numValues ), taskGroupContext ); |
| 312 | } |
| 313 | |
| 314 | } // namespace |
| 315 |
nothing calls this directly
no test coverage detected