|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PERFMON_HRH |
|
20 #define PERFMON_HRH |
|
21 |
|
22 enum TPerfMonCommandIds |
|
23 { |
|
24 EPerfMonCmdEnableLogging = 1, |
|
25 EPerfMonCmdDisableLogging, |
|
26 EPerfMonCmdSettings, |
|
27 EPerfMonCmdAbout, |
|
28 |
|
29 EPerfMonCmdSettingsChange, |
|
30 EPerfMonCmdSettingsExit, |
|
31 EPerfMonCmdSettingsBack, |
|
32 |
|
33 EPerfMonSettingItemList = 1000 |
|
34 }; |
|
35 |
|
36 enum TPerfMonMainViewTabs |
|
37 { |
|
38 ETabMainViewValues = 1, |
|
39 ETabMainViewGraphs |
|
40 }; |
|
41 |
|
42 enum TPerfMonSettingListTabs |
|
43 { |
|
44 ETabSettingsGeneral = 0, |
|
45 ETabSettingsDataPopup, |
|
46 ETabSettingsGraphs, |
|
47 ETabSettingsLogging |
|
48 }; |
|
49 |
|
50 enum TPerfMonSettingListIds |
|
51 { |
|
52 ESettingListItemHeartBeat = 0, |
|
53 ESettingListItemMaxSamples, |
|
54 ESettingListItemPriority, |
|
55 ESettingListItemCPUMode, |
|
56 ESettingListItemKeepBackLightOn, |
|
57 |
|
58 ESettingListItemDataPopupVisbility, |
|
59 ESettingListItemDataPopupLocation, |
|
60 ESettingListItemDataPopupSources, |
|
61 |
|
62 ESettingListItemGraphsVerticalBarPeriod, |
|
63 ESettingListItemGraphsSources, |
|
64 |
|
65 ESettingListItemLoggingMode, |
|
66 ESettingListItemLoggingFilePath, |
|
67 ESettingListItemLoggingSources |
|
68 }; |
|
69 |
|
70 enum TPerfMonSettingThreadPriorityTypes |
|
71 { |
|
72 EThreadPriorityTypeMuchLess = 0, |
|
73 EThreadPriorityTypeLess, |
|
74 EThreadPriorityTypeNormal, |
|
75 EThreadPriorityTypeMore, |
|
76 EThreadPriorityTypeMuchMore, |
|
77 EThreadPriorityTypeRealTime, |
|
78 EThreadPriorityTypeAbsoluteVeryLow, |
|
79 EThreadPriorityTypeAbsoluteLow, |
|
80 EThreadPriorityTypeAbsoluteBackground, |
|
81 EThreadPriorityTypeAbsoluteForeground, |
|
82 EThreadPriorityTypeAbsoluteHigh |
|
83 }; |
|
84 |
|
85 enum TPerfMonSettingCPUModes |
|
86 { |
|
87 ECPUModeNotSet = -1, |
|
88 ECPUModeCPUTime, |
|
89 ECPUModeNOPs |
|
90 }; |
|
91 |
|
92 enum TPerfMonSettingDataPopupVisbilities |
|
93 { |
|
94 EDataPopupVisbilityAlwaysOn = 0, |
|
95 EDataPopupVisbilityBackgroundOnly, |
|
96 EDataPopupVisbilityAlwaysAlwaysOff |
|
97 }; |
|
98 |
|
99 enum TPerfMonSettingDataPopupLocations |
|
100 { |
|
101 EDataPopupLocationTopRight = 0, |
|
102 EDataPopupLocationBottomMiddle |
|
103 }; |
|
104 |
|
105 enum TPerfMonSettingSources |
|
106 { |
|
107 ESourceCPU = 0, |
|
108 ESourceRAM, |
|
109 ESourceC, |
|
110 ESourceD, |
|
111 ESourceE, |
|
112 ESourceF, |
|
113 ESourceG, |
|
114 ESourceH, |
|
115 ESourceI, |
|
116 ESourcesLength // this should be always the last! |
|
117 }; |
|
118 |
|
119 enum TPerfMonSettingLoggingMode |
|
120 { |
|
121 ELoggingModeRDebug = 0, |
|
122 ELoggingModeLogFile, |
|
123 ELoggingModeRDebugLogFile |
|
124 }; |
|
125 |
|
126 #endif // PERFMON_HRH |