Bullet Collision Detection & Physics Library
Public Member Functions | List of all members
btTaskSchedulerSequential Class Reference

btTaskSchedulerSequential – non-threaded implementation of task scheduler (really just useful for testing performance of single threaded vs multi) More...

Inheritance diagram for btTaskSchedulerSequential:
Inheritance graph
[legend]
Collaboration diagram for btTaskSchedulerSequential:
Collaboration graph
[legend]

Public Member Functions

 btTaskSchedulerSequential ()
 
virtual int getMaxNumThreads () const BT_OVERRIDE
 
virtual int getNumThreads () const BT_OVERRIDE
 
virtual void setNumThreads (int numThreads) BT_OVERRIDE
 
virtual void parallelFor (int iBegin, int iEnd, int grainSize, const btIParallelForBody &body) BT_OVERRIDE
 
virtual btScalar parallelSum (int iBegin, int iEnd, int grainSize, const btIParallelSumBody &body) BT_OVERRIDE
 
- Public Member Functions inherited from btITaskScheduler
 btITaskScheduler (const char *name)
 
virtual ~btITaskScheduler ()
 
const char * getName () const
 
virtual void sleepWorkerThreadsHint ()
 
virtual void activate ()
 
virtual void deactivate ()
 

Additional Inherited Members

- Protected Attributes inherited from btITaskScheduler
const char * m_name
 
unsigned int m_savedThreadCounter
 
bool m_isActive
 

Detailed Description

btTaskSchedulerSequential – non-threaded implementation of task scheduler (really just useful for testing performance of single threaded vs multi)

Definition at line 488 of file btThreads.cpp.

Constructor & Destructor Documentation

btTaskSchedulerSequential::btTaskSchedulerSequential ( )
inline

Definition at line 491 of file btThreads.cpp.

Member Function Documentation

virtual int btTaskSchedulerSequential::getMaxNumThreads ( ) const
inlinevirtual

Implements btITaskScheduler.

Definition at line 492 of file btThreads.cpp.

virtual int btTaskSchedulerSequential::getNumThreads ( ) const
inlinevirtual

Implements btITaskScheduler.

Definition at line 493 of file btThreads.cpp.

virtual void btTaskSchedulerSequential::parallelFor ( int  iBegin,
int  iEnd,
int  grainSize,
const btIParallelForBody body 
)
inlinevirtual

Implements btITaskScheduler.

Definition at line 495 of file btThreads.cpp.

virtual btScalar btTaskSchedulerSequential::parallelSum ( int  iBegin,
int  iEnd,
int  grainSize,
const btIParallelSumBody body 
)
inlinevirtual

Implements btITaskScheduler.

Definition at line 500 of file btThreads.cpp.

virtual void btTaskSchedulerSequential::setNumThreads ( int  numThreads)
inlinevirtual

Implements btITaskScheduler.

Definition at line 494 of file btThreads.cpp.


The documentation for this class was generated from the following file: