Blender V4.3
btQuickprof.h File Reference
#include "btScalar.h"

Go to the source code of this file.

Classes

class  btClock
 The btClock is a portable basic clock that measures accurate time in seconds, use for profiling. More...
 
class  CProfileSample
 

Macros

#define USE_BT_CLOCK   1
 
#define BT_NO_PROFILE   1
 
#define BT_PROFILE(name)   CProfileSample __profile(name)
 

Typedefs

typedef void btEnterProfileZoneFunc(const char *msg)
 
typedef void btLeaveProfileZoneFunc()
 

Functions

btEnterProfileZoneFuncbtGetCurrentEnterProfileZoneFunc ()
 
btLeaveProfileZoneFuncbtGetCurrentLeaveProfileZoneFunc ()
 
void btSetCustomEnterProfileZoneFunc (btEnterProfileZoneFunc *enterFunc)
 
void btSetCustomLeaveProfileZoneFunc (btLeaveProfileZoneFunc *leaveFunc)
 
unsigned int btQuickprofGetCurrentThreadIndex2 ()
 

Variables

const unsigned int BT_QUICKPROF_MAX_THREAD_COUNT = 64
 

Macro Definition Documentation

◆ BT_NO_PROFILE

#define BT_NO_PROFILE   1

Definition at line 65 of file btQuickprof.h.

◆ BT_PROFILE

#define BT_PROFILE ( name)    CProfileSample __profile(name)

Definition at line 198 of file btQuickprof.h.

Referenced by addMultiBodyFrictionConstraint(), addMultiBodySpinningFrictionConstraint(), addMultiBodyTorsionalFrictionConstraint(), allocAllContactConstraints(), btSoftBody::applyClusters(), btSoftBody::applyForces(), btMultiBodyDynamicsWorld::applyGravity(), btDeformableMultiBodyDynamicsWorld::applyRepulsionForce(), assignConstraintsToGridBatches(), btSimulationIslandManagerMt::buildAndProcessIslands(), btSimulationIslandManager::buildIslands(), btSimulationIslandManagerMt::buildIslands(), btMultiBodyDynamicsWorld::calculateSimulationIslands(), btDeformableMultiBodyDynamicsWorld::clearGravity(), btCollisionWorld::computeOverlappingPairs(), btDeformableBackwardEulerObjective::computeResidual(), convertBodies(), convertJoints(), btCollisionWorld::convexSweepTest(), btMLCPSolver::createMLCP(), btMLCPSolver::createMLCPFast(), btMultiBodyMLCPConstraintSolver::createMLCPFastMultiBody(), btMultiBodyMLCPConstraintSolver::createMLCPFastRigidBody(), createPredictiveContacts(), createPredictiveContactsInternal(), debugDrawAllBatches(), debugDrawPhase(), btMultiBodyDynamicsWorld::debugDrawWorld(), btSoftBody::defaultCollisionHandler(), btCollisionDispatcher::dispatchAllCollisionPairs(), expandConstraintRows(), expandConstraintRowsInPlace(), expandConstraintRowsMt(), findMaxDynamicConstraintExtent(), SetupContactConstraintsLoop::forLoop(), UpdateConstraintBatchIdsForMergesLoop::forLoop(), WriteOutConstraintIndicesLoop::forLoop(), initBatchedBodyDynamicFlags(), initBatchedConstraintInfo(), initBatchedConstraintInfoArray(), btSoftBody::initializeFaceTree(), btMultiBodyDynamicsWorld::integrateMultiBodyTransforms(), btDeformableMultiBodyDynamicsWorld::integrateTransforms(), integrateTransformsInternal(), internalAllocContactConstraints(), internalCollectContactManifoldCachedInfo(), internalConvertBodies(), internalConvertMultipleJoints(), internalInitMultipleJoints(), btDeformableMultiBodyDynamicsWorld::internalSingleStepSimulation(), internalWriteBackBodies(), internalWriteBackContacts(), internalWriteBackJoints(), mergeSmallBatches(), btDeformableBackwardEulerObjective::multiply(), btCollisionWorld::objectQuerySingleInternal(), btTaskSchedulerSequential::parallelFor(), btSimulationIslandManagerMt::parallelIslandDispatch(), btTaskSchedulerSequential::parallelSum(), btCollisionWorld::performDiscreteCollisionDetection(), btDeformableMultiBodyDynamicsWorld::performGeometricCollisions(), btDeformableBodySolver::predictDeformableMotion(), btMultiBodyDynamicsWorld::predictMultiBodyTransforms(), btDeformableMultiBodyDynamicsWorld::predictUnconstraintMotion(), btSoftMultiBodyDynamicsWorld::predictUnconstraintMotion(), btSoftRigidDynamicsWorld::predictUnconstraintMotion(), btCompoundCompoundLeafCallback::Process(), btSoftRigidCollisionAlgorithm::processCollision(), btSimulationIslandManager::processIslands(), btDeformableBackwardEulerObjective::project(), btSoftBody::PSolve_Anchors(), btSoftBody::PSolve_Links(), btSoftBody::PSolve_RContacts(), btSoftBody::PSolve_SContacts(), btDeformableMultiBodyDynamicsWorld::rayTest(), btSoftMultiBodyDynamicsWorld::rayTest(), btSoftRigidDynamicsWorld::rayTest(), btDeformableBackwardEulerObjective::reinitialize(), releasePredictiveContacts(), btMatrixX< T >::resize(), resolveAllContactConstraints(), resolveAllContactConstraintsInterleaved(), resolveAllContactFrictionConstraints(), resolveAllJointConstraints(), resolveAllRollingFrictionConstraints(), runLengthEncodeConstraintInfo(), btSimulationIslandManagerMt::serialIslandDispatch(), btDeformableBodySolver::setConstraints(), btDeformableContactProjection::setConstraints(), btDeformableContactProjection::setProjection(), setupAllContactConstraints(), setupBatchedContactConstraints(), setupBatchedJointConstraints(), setupMultiBodyContactConstraint(), setupMultiBodyTorsionalFrictionConstraint(), setupSingleBatch(), setupSpatialGridBatchesMt(), btMatrixX< T >::setZero(), btDeformableMultiBodyDynamicsWorld::softBodySelfCollision(), btConjugateGradient< MatrixX >::solve(), btConjugateResidual< MatrixX >::solve(), btDeformableMultiBodyDynamicsWorld::solveConstraints(), btDeformableBodySolver::solveContactConstraints(), btDeformableBodySolver::solveDeformableConstraints(), btMultiBodyDynamicsWorld::solveExternalForces(), btMLCPSolver::solveGroupCacheFriendlyIterations(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlyIterations(), btMLCPSolver::solveGroupCacheFriendlySetup(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlySetup(), solveGroupCacheFriendlySplitImpulseIterations(), solveGroupCacheFriendlySplitImpulseIterations(), btMultiBodyDynamicsWorld::solveInternalConstraints(), btLemkeSolver::solveMLCP(), btSoftMultiBodyDynamicsWorld::solveSoftBodiesConstraints(), btSoftRigidDynamicsWorld::solveSoftBodiesConstraints(), ContactFrictionSolverLoop::sumLoop(), ContactRollingFrictionSolverLoop::sumLoop(), ContactSolverLoop::sumLoop(), ContactSplitPenetrationImpulseSolverLoop::sumLoop(), InterleavedContactSolverLoop::sumLoop(), JointSolverLoop::sumLoop(), btCollisionWorld::updateAabbs(), updateActions(), btMultiBodyDynamicsWorld::updateActivationState(), btSoftBody::updateClusters(), updateConstraintBatchIdsForMerges(), updateConstraintBatchIdsForMergesMt(), btDeformableBodySolver::updateSoftBodies(), btSoftBody::VSolve_Links(), writeOutBatches(), writeOutConstraintIndicesForRangeOfBatches(), and writeOutConstraintIndicesMt().

◆ USE_BT_CLOCK

#define USE_BT_CLOCK   1

Definition at line 17 of file btQuickprof.h.

Typedef Documentation

◆ btEnterProfileZoneFunc

typedef void btEnterProfileZoneFunc(const char *msg)

Definition at line 55 of file btQuickprof.h.

◆ btLeaveProfileZoneFunc

typedef void btLeaveProfileZoneFunc()

Definition at line 56 of file btQuickprof.h.

Function Documentation

◆ btGetCurrentEnterProfileZoneFunc()

btEnterProfileZoneFunc * btGetCurrentEnterProfileZoneFunc ( )

Definition at line 776 of file btQuickprof.cpp.

References bts_enterFunc.

◆ btGetCurrentLeaveProfileZoneFunc()

btLeaveProfileZoneFunc * btGetCurrentLeaveProfileZoneFunc ( )

Definition at line 780 of file btQuickprof.cpp.

References bts_leaveFunc.

◆ btQuickprofGetCurrentThreadIndex2()

unsigned int btQuickprofGetCurrentThreadIndex2 ( )

Definition at line 738 of file btQuickprof.cpp.

References __declspec(), btGetCurrentThreadIndex(), gThreadCounter, and U.

◆ btSetCustomEnterProfileZoneFunc()

void btSetCustomEnterProfileZoneFunc ( btEnterProfileZoneFunc * enterFunc)

Definition at line 785 of file btQuickprof.cpp.

References bts_enterFunc.

◆ btSetCustomLeaveProfileZoneFunc()

void btSetCustomLeaveProfileZoneFunc ( btLeaveProfileZoneFunc * leaveFunc)

Definition at line 789 of file btQuickprof.cpp.

References bts_leaveFunc.

Variable Documentation

◆ BT_QUICKPROF_MAX_THREAD_COUNT

const unsigned int BT_QUICKPROF_MAX_THREAD_COUNT = 64

Definition at line 68 of file btQuickprof.h.