HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_PerfMonProfile.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_PerfMonProfile_h__
10 #define __HOM_PerfMonProfile_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include <string>
17 
18 SWIGOUT(%rename(PerfMonProfile) HOM_PerfMonProfile;)
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  virtual std::string __repr__() = 0;
31 
32  SWIGOUT(%warnfilter(321) id;)
33  virtual int id() = 0;
34  virtual std::string title() = 0;
35 
36  virtual bool isActive() = 0;
37  virtual bool isPaused() = 0;
38  virtual bool isRecordingCookStats() = 0;
39  virtual bool isRecordingPDGCookStats() = 0;
40  virtual bool isRecordingSolveStats() = 0;
41  virtual bool isRecordingDrawStats() = 0;
42  virtual bool isRecordingGPUDrawStats() = 0;
43  virtual bool isRecordingViewportStats() = 0;
44  virtual bool isRecordingScriptStats() = 0;
45  virtual bool isRecordingRenderStats() = 0;
46  virtual bool isRecordingThreadStats() = 0;
47  virtual bool isRecordingFrameStats() = 0;
48  virtual bool isRecordingMemoryStats() = 0;
49  virtual bool isRecordingErrors() = 0;
50 
51  virtual void stop() = 0;
52  virtual void cancel() = 0;
53  virtual void pause() = 0;
54  virtual void resume() = 0;
55 
56  virtual void save(const char *file_path) = 0;
57  virtual void exportAsCSV(const char *file_path) = 0;
58 
59  virtual std::string _stats() = 0;
60 };
61 
62 #endif
virtual bool isRecordingFrameStats()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1238
virtual bool isRecordingCookStats()=0
virtual bool isRecordingErrors()=0
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:353
virtual bool isRecordingMemoryStats()=0
virtual std::string _stats()=0
virtual void exportAsCSV(const char *file_path)=0
virtual void stop()=0
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1237
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
virtual void save(const char *file_path)=0
virtual bool isRecordingPDGCookStats()=0
virtual void cancel()=0
HOM_PerfMonProfile(const HOM_PerfMonProfile &profile)
virtual bool isRecordingThreadStats()=0
virtual bool isRecordingSolveStats()=0
virtual bool isRecordingRenderStats()=0
virtual bool isPaused()=0
virtual std::string title()=0
virtual bool isRecordingViewportStats()=0
void pause(int delay) noexcept
Definition: thread.h:108
virtual bool isRecordingGPUDrawStats()=0
virtual bool isRecordingDrawStats()=0
virtual bool isRecordingScriptStats()=0
virtual bool isActive()=0
virtual void resume()=0