Blender  V3.3
Classes | Macros | Typedefs | Functions | Variables
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.

◆ 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.