--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/perfmon/engine/inc/perfmon.hrh Mon May 03 12:32:02 2010 +0300
@@ -0,0 +1,126 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef PERFMON_HRH
+#define PERFMON_HRH
+
+enum TPerfMonCommandIds
+ {
+ EPerfMonCmdEnableLogging = 1,
+ EPerfMonCmdDisableLogging,
+ EPerfMonCmdSettings,
+ EPerfMonCmdAbout,
+
+ EPerfMonCmdSettingsChange,
+ EPerfMonCmdSettingsExit,
+ EPerfMonCmdSettingsBack,
+
+ EPerfMonSettingItemList = 1000
+ };
+
+enum TPerfMonMainViewTabs
+ {
+ ETabMainViewValues = 1,
+ ETabMainViewGraphs
+ };
+
+enum TPerfMonSettingListTabs
+ {
+ ETabSettingsGeneral = 0,
+ ETabSettingsDataPopup,
+ ETabSettingsGraphs,
+ ETabSettingsLogging
+ };
+
+enum TPerfMonSettingListIds
+ {
+ ESettingListItemHeartBeat = 0,
+ ESettingListItemMaxSamples,
+ ESettingListItemPriority,
+ ESettingListItemCPUMode,
+ ESettingListItemKeepBackLightOn,
+
+ ESettingListItemDataPopupVisbility,
+ ESettingListItemDataPopupLocation,
+ ESettingListItemDataPopupSources,
+
+ ESettingListItemGraphsVerticalBarPeriod,
+ ESettingListItemGraphsSources,
+
+ ESettingListItemLoggingMode,
+ ESettingListItemLoggingFilePath,
+ ESettingListItemLoggingSources
+ };
+
+enum TPerfMonSettingThreadPriorityTypes
+ {
+ EThreadPriorityTypeMuchLess = 0,
+ EThreadPriorityTypeLess,
+ EThreadPriorityTypeNormal,
+ EThreadPriorityTypeMore,
+ EThreadPriorityTypeMuchMore,
+ EThreadPriorityTypeRealTime,
+ EThreadPriorityTypeAbsoluteVeryLow,
+ EThreadPriorityTypeAbsoluteLow,
+ EThreadPriorityTypeAbsoluteBackground,
+ EThreadPriorityTypeAbsoluteForeground,
+ EThreadPriorityTypeAbsoluteHigh
+ };
+
+enum TPerfMonSettingCPUModes
+ {
+ ECPUModeNotSet = -1,
+ ECPUModeCPUTime,
+ ECPUModeNOPs
+ };
+
+enum TPerfMonSettingDataPopupVisbilities
+ {
+ EDataPopupVisbilityAlwaysOn = 0,
+ EDataPopupVisbilityBackgroundOnly,
+ EDataPopupVisbilityAlwaysAlwaysOff
+ };
+
+enum TPerfMonSettingDataPopupLocations
+ {
+ EDataPopupLocationTopRight = 0,
+ EDataPopupLocationBottomMiddle
+ };
+
+enum TPerfMonSettingSources
+ {
+ ESourceCPU = 0,
+ ESourceRAM,
+ ESourceC,
+ ESourceD,
+ ESourceE,
+ ESourceF,
+ ESourceG,
+ ESourceH,
+ ESourceI,
+ ESourcesLength // this should be always the last!
+ };
+
+enum TPerfMonSettingLoggingMode
+ {
+ ELoggingModeRDebug = 0,
+ ELoggingModeLogFile,
+ ELoggingModeRDebugLogFile
+ };
+
+#endif // PERFMON_HRH