HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Performance.h File Reference
#include "UT_API.h"
#include "UT_Condition.h"
#include "UT_Lock.h"
#include "UT_Map.h"
#include "UT_PerfMonProfile.h"
#include "UT_PerfMonTimedEvent.h"
#include "UT_PerfMonTypes.h"
#include "UT_Color.h"
#include "UT_Ramp.h"
#include "UT_ThreadSpecificValue.h"
#include "UT_DirUtil.h"
#include <SYS/SYS_AtomicInt.h>
#include <tbb/spin_rw_mutex.h>
+ Include dependency graph for UT_Performance.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_Performance
 

Macros

#define UT_PERFMON_INVALID_ID   -1
 
#define UT_PERFMON_INTERNAL_TASKS_LABEL   "Internal Tasks"
 

Typedefs

typedef void(* UT_PerfMonProfileEventMethod )(void *callee, UT_PerfMonProfileEventType type, int profile_id)
 
typedef void(* UT_PerfMonEventCB )(void *callee, const UT_PerfMonEvent *event)
 

Enumerations

enum  UT_PerfMonProfileEventType {
  UT_PERFMON_PROFILE_STARTED, UT_PERFMON_PROFILE_STOPPED, UT_PERFMON_PROFILE_REMOVED, UT_PERFMON_PROFILE_RENAMED,
  UT_PERFMON_PROFILE_LOADED, UT_PERFMON_PROFILE_STATS_UPDATED, UT_PERFMON_PROFILE_RECORD_OPTIONS_CHANGED, UT_PERFMON_PROFILE_STATS_CLEARED,
  UT_PERFMON_ACTIVE_PROFILE_CHANGED, UT_PERFMON_NUM_PROFILE_EVENT_TYPES
}
 

Functions

UT_API UT_PerformanceUTgetPerformance (bool create=true)
 
UT_API void UTsetPerformance (UT_Performance *perfmon)
 

Macro Definition Documentation

#define UT_PERFMON_INTERNAL_TASKS_LABEL   "Internal Tasks"

Definition at line 33 of file UT_Performance.h.

#define UT_PERFMON_INVALID_ID   -1

Definition at line 32 of file UT_Performance.h.

Typedef Documentation

typedef void(* UT_PerfMonEventCB)(void *callee, const UT_PerfMonEvent *event)

Definition at line 53 of file UT_Performance.h.

typedef void(* UT_PerfMonProfileEventMethod)(void *callee, UT_PerfMonProfileEventType type, int profile_id)

Definition at line 50 of file UT_Performance.h.

Enumeration Type Documentation

Enumerator
UT_PERFMON_PROFILE_STARTED 
UT_PERFMON_PROFILE_STOPPED 
UT_PERFMON_PROFILE_REMOVED 
UT_PERFMON_PROFILE_RENAMED 
UT_PERFMON_PROFILE_LOADED 
UT_PERFMON_PROFILE_STATS_UPDATED 
UT_PERFMON_PROFILE_RECORD_OPTIONS_CHANGED 
UT_PERFMON_PROFILE_STATS_CLEARED 
UT_PERFMON_ACTIVE_PROFILE_CHANGED 
UT_PERFMON_NUM_PROFILE_EVENT_TYPES 

Definition at line 35 of file UT_Performance.h.

Function Documentation

UT_API UT_Performance* UTgetPerformance ( bool  create = true)
UT_API void UTsetPerformance ( UT_Performance perfmon)