|
HDK
|
#include "UT_API.h"
Include dependency graph for UT_PerfMonTypes.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | UT_PERFMON_PROFILE_FILE_EXTENSION ".hperf" |
| Default file extension to use for profiles. More... | |
Functions | |
| UT_API const char * | UTgetEventTypeName (UT_PerfMonEventType type) |
| Return the (display) name of the given event type. More... | |
| UT_API const char * | UTgetCategoryName (UT_PerfMonCategory category) |
| Return the (display) name of the given category. More... | |
| UT_API const char * | UTgetObjectTypeName (UT_PerfMonObjectType object_type) |
| Return the (display) name of the given event object type. More... | |
| UT_API const char * | UTgetStatTypeName (UT_PerfMonStatType stat_type) |
| Return the (display) name of the given stat type. More... | |
| UT_API UT_PerfMonEventType | UTgetEventType (const char *type_name) |
| Return the event type enum of the given event type name. More... | |
| UT_API UT_PerfMonCategory | UTgetCategory (const char *category_name) |
| Return the category enum of the given category name. More... | |
| UT_API UT_PerfMonObjectType | UTgetObjectType (const char *type_name) |
| Return the enum type of the given object type name. More... | |
| UT_API UT_PerfMonStatType | UTgetStatType (const char *type_name) |
| Return the enum type of the given stat type name. More... | |
| UT_API const char * | UTgetProfileAttrName (UT_PerfMonProfileAttribute attr) |
| Return the (display) name of the given profile attribute. More... | |
| UT_API UT_PerfMonAttributeType | UTgetProfileAttrType (UT_PerfMonProfileAttribute attr) |
| Return the type of the given profile attribute. More... | |
| UT_API const char * | UTgetStatsAttrName (UT_PerfMonStatsAttribute attr) |
| Return the (display) name of the given stats attribute. More... | |
| UT_API const char * | UTgetStatDefAttrName (UT_PerfMonStatDefAttribute attr) |
| Return the (display) name of the given stat definition attribute. More... | |
| UT_API UT_PerfMonProfileAttribute | UTgetProfileAttribute (const char *attr_name) |
| UT_API UT_PerfMonAttributeType | UTgetStatsAttrType (UT_PerfMonStatsAttribute attr) |
| Return the type of the given stats attribute. More... | |
| UT_API UT_PerfMonStatsAttribute | UTgetStatsAttribute (const char *attr_name) |
| UT_API UT_PerfMonStatDefAttribute | UTgetStatDefAttribute (const char *attr_name) |
| UT_API void | UTinitPerfMonTypes () |
| #define UT_PERFMON_PROFILE_FILE_EXTENSION ".hperf" |
Default file extension to use for profiles.
Definition at line 19 of file UT_PerfMonTypes.h.
| Enumerator | |
|---|---|
| UT_PERFMON_INVALID_ATTR_TYPE | |
| UT_PERFMON_STRING_ATTR_TYPE | |
| UT_PERFMON_NUMBER_ATTR_TYPE | |
| UT_PERFMON_MAP_ATTR_TYPE | |
| UT_PERFMON_ARRAY_ATTR_TYPE | |
| UT_PERFMON_NUM_ATTR_TYPES | |
Definition at line 96 of file UT_PerfMonTypes.h.
| enum UT_PerfMonCategory |
Categories.
Definition at line 24 of file UT_PerfMonTypes.h.
| enum UT_PerfMonEventType |
Event types.
| Enumerator | |
|---|---|
| UT_PERFMON_INVALID_EVENT | |
| UT_PERFMON_GENERAL_EVENT | |
| UT_PERFMON_TIMED_EVENT | |
| UT_PERFMON_MEMORY_EVENT | |
| UT_PERFMON_NUM_EVENT_TYPES | |
Definition at line 40 of file UT_PerfMonTypes.h.
| Enumerator | |
|---|---|
| UT_PERFMON_LOG_TIME_FORMAT_ALL | |
| UT_PERFMON_LOG_TIME_FORMAT_MS | |
| UT_PERFMON_LOG_TIME_FORMAT_SEC | |
Definition at line 142 of file UT_PerfMonTypes.h.
| enum UT_PerfMonObjectType |
Object types.
Definition at line 50 of file UT_PerfMonTypes.h.
| Enumerator | |
|---|---|
| UT_PERFMON_INVALID_PROFILE_ATTR | |
| UT_PERFMON_PROFILE_NAME_ATTR | |
| UT_PERFMON_PROFILE_STATS_ATTR | |
| UT_PERFMON_PROFILE_STAT_DEFS_ATTR | |
| UT_PERFMON_NUM_PROFILE_ATTRS | |
Definition at line 107 of file UT_PerfMonTypes.h.
| enum UT_PerfMonScriptType |
Script types recognized by the performance monitor.
| Enumerator | |
|---|---|
| UT_PERFMON_HSCRIPT | |
| UT_PERFMON_PYTHON | |
| UT_PERFMON_HAPI | |
| UT_PERFMON_NUM_SCRIPT_TYPES | |
Definition at line 87 of file UT_PerfMonTypes.h.
| Enumerator | |
|---|---|
| UT_PERFMON_INVALID_STAT_DEF_ATTR | |
| UT_PERFMON_STAT_DEF_NAME_ATTR | |
| UT_PERFMON_STAT_DEF_CATEGORY_ATTR | |
| UT_PERFMON_STAT_DEF_TYPE_ATTR | |
| UT_PERFMON_STAT_DEF_IS_DIFF_ATTR | |
| UT_PERFMON_NUM_STAT_DEF_ATTRS | |
Definition at line 131 of file UT_PerfMonTypes.h.
Definition at line 117 of file UT_PerfMonTypes.h.
| enum UT_PerfMonStatType |
Definition at line 64 of file UT_PerfMonTypes.h.
Viewport types recognized by the performance monitor.
| Enumerator | |
|---|---|
| UT_PERFMON_3D_VIEWPORT | |
| UT_PERFMON_2D_VIEWPORT | |
| UT_PERFMON_NUM_VIEWPORT_TYPES | |
Definition at line 79 of file UT_PerfMonTypes.h.
| UT_API UT_PerfMonCategory UTgetCategory | ( | const char * | category_name | ) |
Return the category enum of the given category name.
| UT_API const char* UTgetCategoryName | ( | UT_PerfMonCategory | category | ) |
Return the (display) name of the given category.
| UT_API UT_PerfMonEventType UTgetEventType | ( | const char * | type_name | ) |
Return the event type enum of the given event type name.
| UT_API const char* UTgetEventTypeName | ( | UT_PerfMonEventType | type | ) |
Return the (display) name of the given event type.
| UT_API UT_PerfMonObjectType UTgetObjectType | ( | const char * | type_name | ) |
Return the enum type of the given object type name.
| UT_API const char* UTgetObjectTypeName | ( | UT_PerfMonObjectType | object_type | ) |
Return the (display) name of the given event object type.
| UT_API UT_PerfMonProfileAttribute UTgetProfileAttribute | ( | const char * | attr_name | ) |
Return the profile attribute bound to the given (display) name. Return UT_PERFMON_INVALID_PROFILE_ATTR if no such attribute exists.
| UT_API const char* UTgetProfileAttrName | ( | UT_PerfMonProfileAttribute | attr | ) |
Return the (display) name of the given profile attribute.
| UT_API UT_PerfMonAttributeType UTgetProfileAttrType | ( | UT_PerfMonProfileAttribute | attr | ) |
Return the type of the given profile attribute.
| UT_API UT_PerfMonStatDefAttribute UTgetStatDefAttribute | ( | const char * | attr_name | ) |
Return the stat definition attribute bound to the given (display) name. Return UT_PERFMON_INVALID_STAT_DEF_ATTR if no such attribute exists.
| UT_API const char* UTgetStatDefAttrName | ( | UT_PerfMonStatDefAttribute | attr | ) |
Return the (display) name of the given stat definition attribute.
| UT_API UT_PerfMonStatsAttribute UTgetStatsAttribute | ( | const char * | attr_name | ) |
Return the stats attribute bound to the given (display) name. Return UT_PERFMON_INVALID_STATS_ATTR if no such attribute exists.
| UT_API const char* UTgetStatsAttrName | ( | UT_PerfMonStatsAttribute | attr | ) |
Return the (display) name of the given stats attribute.
| UT_API UT_PerfMonAttributeType UTgetStatsAttrType | ( | UT_PerfMonStatsAttribute | attr | ) |
Return the type of the given stats attribute.
| UT_API UT_PerfMonStatType UTgetStatType | ( | const char * | type_name | ) |
Return the enum type of the given stat type name.
| UT_API const char* UTgetStatTypeName | ( | UT_PerfMonStatType | stat_type | ) |
Return the (display) name of the given stat type.
Initialize data structures internal to this module. This should only be called once from the UT_Performance constructor.