MCPcopy Create free account
hub / github.com/carbonengine/trinity / Tr2ParallelFor

Function Tr2ParallelFor

trinity/TbbStub.h:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template <typename T, typename Func>
58inline void Tr2ParallelFor( const Tr2BlockedRange<T>& range, Func func )
59{
60 for( T begin = range.begin(); begin < range.end(); begin += range.m_step )
61 {
62 func( Tr2BlockedRange<T>( begin, std::min( begin + range.m_step, range.end() ) ) );
63 }
64}
65
66template <typename T>
67class Tr2EnumerableThreadSpecific

Callers 7

UseTexturesFunction · 0.85
UpdateSimulationMethod · 0.85
ApplyConstraintMethod · 0.85
BeginRenderMethod · 0.85
UpdateShLightingMethod · 0.85
UpdateQuadRendererMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected