HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_PerfMonRecordOptions.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_PerfMonRecordOptions.h (UT Library, C++)
7  *
8  * COMMENTS:
9  *
10  * Performance monitor recording options.
11  */
12 
13 #ifndef __UT_PerfMonRecordOptions__
14 #define __UT_PerfMonRecordOptions__
15 
16 #include "UT_API.h"
17 
19 {
20 public:
23  bool cook_stats, bool pdg_cook_stats, bool solve_stats,
24  bool node_draw_stats, bool node_gpu_draw_stats, bool viewport_stats,
25  bool pane_stats, bool script_stats,
26  bool render_stats, bool thread_stats,
27  bool frame_stats, bool memory_stats,
28  bool errors);
31 
32  bool recordCookStats() const;
33  bool recordPDGCookStats() const;
34  bool recordSolveStats() const;
35  bool recordObjectDrawStats() const;
36  bool recordObjectGPUDrawStats() const;
37  bool recordViewportStats() const;
38  bool recordPaneStats() const;
39  bool recordScriptStats() const;
40  bool recordRenderStats() const;
41  bool recordThreadStats() const;
42  bool recordFrameStats() const;
43  bool recordMemoryStats() const;
44  bool recordErrors() const;
45 
46  /// Convenience method which returns true if the options are
47  /// configured to record any time stats.
48  bool isRecordingTimedStats() const;
49 
50  void setRecordCookStats(bool record);
51  void setRecordPDGCookStats(bool record);
52  void setRecordSolveStats(bool record);
53  void setRecordObjectDrawStats(bool record);
54  void setRecordObjectGPUDrawStats(bool record);
55  void setRecordViewportStats(bool record);
56  void setRecordPaneStats(bool record);
57  void setRecordScriptStats(bool record);
58  void setRecordRenderStats(bool record);
59  void setRecordThreadStats(bool record);
60  void setRecordFrameStats(bool record);
61  void setRecordMemoryStats(bool record);
62  void setRecordErrors(bool record);
63 
65 
66 private:
67 
68  bool myRecordCookStats;
69  bool myRecordPDGCookStats;
70  bool myRecordSolveStats;
71  bool myRecordObjectDrawStats;
72  bool myRecordObjectGPUDrawStats;
73  bool myRecordViewportStats;
74  bool myRecordPaneStats;
75  bool myRecordScriptStats;
76  bool myRecordRenderStats;
77  bool myRecordThreadStats;
78  bool myRecordFrameStats;
79  bool myRecordMemoryStats;
80  bool myRecordErrors;
81 };
82 
83 #endif
84 
#define UT_API
Definition: UT_API.h:14
LeafData & operator=(const LeafData &)=delete