Bullet Collision Detection & Physics Library
Classes | Macros | Typedefs | Functions | Variables
btQuickprof.h File Reference
#include "btScalar.h"
#include <stdio.h>
#include "btAlignedAllocator.h"
#include <new>
Include dependency graph for btQuickprof.h:
This graph shows which files directly or indirectly include this file:

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  CProfileNode
 A node in the Profile Hierarchy Tree. More...
 
class  CProfileIterator
 An iterator to navigate through the tree. More...
 
class  CProfileManager
 The Manager for the Profile system. More...
 
class  CProfileSample
 ProfileSampleClass is a simple way to profile a function's scope Use the BT_PROFILE macro at the start of scope to time. More...
 

Macros

#define USE_BT_CLOCK   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

#define BT_PROFILE (   name)    CProfileSample __profile( name )

Definition at line 216 of file btQuickprof.h.

#define USE_BT_CLOCK   1

Definition at line 19 of file btQuickprof.h.

Typedef Documentation

typedef void( btEnterProfileZoneFunc) (const char *msg)

Definition at line 57 of file btQuickprof.h.

typedef void( btLeaveProfileZoneFunc) ()

Definition at line 58 of file btQuickprof.h.

Function Documentation

btEnterProfileZoneFunc* btGetCurrentEnterProfileZoneFunc ( )

Definition at line 763 of file btQuickprof.cpp.

btLeaveProfileZoneFunc* btGetCurrentLeaveProfileZoneFunc ( )

Definition at line 767 of file btQuickprof.cpp.

unsigned int btQuickprofGetCurrentThreadIndex2 ( )

Definition at line 706 of file btQuickprof.cpp.

void btSetCustomEnterProfileZoneFunc ( btEnterProfileZoneFunc enterFunc)

Definition at line 773 of file btQuickprof.cpp.

void btSetCustomLeaveProfileZoneFunc ( btLeaveProfileZoneFunc leaveFunc)

Definition at line 777 of file btQuickprof.cpp.

Variable Documentation

const unsigned int BT_QUICKPROF_MAX_THREAD_COUNT = 64

Definition at line 73 of file btQuickprof.h.