HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_PerformanceThread.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: UT_PerformanceThread.h (UT Library, C++)
7  *
8  * COMMENTS:
9  *
10  */
11 
12 #ifndef __UT_PerformanceThread__
13 #define __UT_PerformanceThread__
14 
15 #include "UT_API.h"
16 
17 /// @file
18 /// This include provides a light weight way to record thread stats without
19 /// pulling in the full UT_Performance.h include.
20 ///
21 
22 class UT_TaskScope;
23 
24 /// Determine if we're currently recording thread stats
26 
27 UT_API int UTperformanceStartTaskScope(const UT_TaskScope *task_scope);
28 UT_API void UTperformanceStopTaskScope(const UT_TaskScope *task_scope,
29  int event_id);
30 
31 #endif
UT_API void UTperformanceStopTaskScope(const UT_TaskScope *task_scope, int event_id)
#define UT_API
Definition: UT_API.h:13
UT_API int UTperformanceStartTaskScope(const UT_TaskScope *task_scope)
UT_API bool UTperformanceIsRecordingThreadStats()
Determine if we're currently recording thread stats.