diff options
Diffstat (limited to 'daemon/SessionData.h')
-rw-r--r-- | daemon/SessionData.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/daemon/SessionData.h b/daemon/SessionData.h index cc188f8..7daee72 100644 --- a/daemon/SessionData.h +++ b/daemon/SessionData.h | |||
@@ -13,11 +13,11 @@ | |||
13 | #define MAX_STRING_LEN 80 | 13 | #define MAX_STRING_LEN 80 |
14 | #define MAX_DESCRIPTION_LEN 400 | 14 | #define MAX_DESCRIPTION_LEN 400 |
15 | 15 | ||
16 | #define PROTOCOL_VERSION 8 | 16 | #define PROTOCOL_VERSION 9 |
17 | #define PROTOCOL_DEV 1000 // Differentiates development versions (timestamp) from release versions | 17 | #define PROTOCOL_DEV 1000 // Differentiates development versions (timestamp) from release versions |
18 | 18 | ||
19 | struct ImageLinkList { | 19 | struct ImageLinkList { |
20 | char *path; | 20 | char* path; |
21 | struct ImageLinkList *next; | 21 | struct ImageLinkList *next; |
22 | }; | 22 | }; |
23 | 23 | ||
@@ -30,11 +30,13 @@ public: | |||
30 | void parseSessionXML(char* xmlString); | 30 | void parseSessionXML(char* xmlString); |
31 | 31 | ||
32 | char mCoreName[MAX_STRING_LEN]; | 32 | char mCoreName[MAX_STRING_LEN]; |
33 | struct ImageLinkList *images; | 33 | struct ImageLinkList *mImages; |
34 | char* configurationXMLPath; | 34 | char* mConfigurationXMLPath; |
35 | char* target_path; | 35 | char* mSessionXMLPath; |
36 | char* apcDir; | 36 | char* mEventsXMLPath; |
37 | char* title; | 37 | char* mTargetPath; |
38 | char* mAPCDir; | ||
39 | char* mTitle; | ||
38 | 40 | ||
39 | bool mWaitingOnCommand; | 41 | bool mWaitingOnCommand; |
40 | bool mSessionIsActive; | 42 | bool mSessionIsActive; |
@@ -42,7 +44,7 @@ public: | |||
42 | bool mOneShot; // halt processing of the driver data until profiling is complete or the buffer is filled | 44 | bool mOneShot; // halt processing of the driver data until profiling is complete or the buffer is filled |
43 | 45 | ||
44 | int mBacktraceDepth; | 46 | int mBacktraceDepth; |
45 | int mTotalBufferSize; // approximate number of MB to use for the entire collection buffer, the actual amount is a multiple based on a buffer size retrieved from the driver | 47 | int mTotalBufferSize; // number of MB to use for the entire collection buffer |
46 | int mSampleRate; | 48 | int mSampleRate; |
47 | int mDuration; | 49 | int mDuration; |
48 | int mCores; | 50 | int mCores; |
@@ -53,6 +55,10 @@ public: | |||
53 | char mPerfCounterTitle[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | 55 | char mPerfCounterTitle[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; |
54 | char mPerfCounterName[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | 56 | char mPerfCounterName[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; |
55 | char mPerfCounterDescription[MAX_PERFORMANCE_COUNTERS][MAX_DESCRIPTION_LEN]; | 57 | char mPerfCounterDescription[MAX_PERFORMANCE_COUNTERS][MAX_DESCRIPTION_LEN]; |
58 | char mPerfCounterOperation[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | ||
59 | char mPerfCounterAlias[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | ||
60 | char mPerfCounterDisplay[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | ||
61 | char mPerfCounterUnits[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | ||
56 | int mPerfCounterEnabled[MAX_PERFORMANCE_COUNTERS]; | 62 | int mPerfCounterEnabled[MAX_PERFORMANCE_COUNTERS]; |
57 | int mPerfCounterEvent[MAX_PERFORMANCE_COUNTERS]; | 63 | int mPerfCounterEvent[MAX_PERFORMANCE_COUNTERS]; |
58 | int mPerfCounterColor[MAX_PERFORMANCE_COUNTERS]; | 64 | int mPerfCounterColor[MAX_PERFORMANCE_COUNTERS]; |
@@ -60,7 +66,8 @@ public: | |||
60 | int mPerfCounterKey[MAX_PERFORMANCE_COUNTERS]; | 66 | int mPerfCounterKey[MAX_PERFORMANCE_COUNTERS]; |
61 | bool mPerfCounterPerCPU[MAX_PERFORMANCE_COUNTERS]; | 67 | bool mPerfCounterPerCPU[MAX_PERFORMANCE_COUNTERS]; |
62 | bool mPerfCounterEBSCapable[MAX_PERFORMANCE_COUNTERS]; | 68 | bool mPerfCounterEBSCapable[MAX_PERFORMANCE_COUNTERS]; |
63 | char mPerfCounterOperation[MAX_PERFORMANCE_COUNTERS][MAX_STRING_LEN]; | 69 | bool mPerfCounterLevel[MAX_PERFORMANCE_COUNTERS]; |
70 | bool mPerfCounterAverageSelection[MAX_PERFORMANCE_COUNTERS]; | ||
64 | }; | 71 | }; |
65 | 72 | ||
66 | extern SessionData* gSessionData; | 73 | extern SessionData* gSessionData; |