sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Implements the performance loggr for ECOM sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: #include "Te_EComPerfLoggerStep.h" sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include "EComSessionAux.h" sl@0: sl@0: CEComPerfLogger::CEComPerfLogger() : CEComPerfTestBase(KEComPerfLogger) sl@0: { sl@0: } sl@0: sl@0: CEComPerfLogger::~CEComPerfLogger() sl@0: /** sl@0: * Destructor sl@0: */ sl@0: { sl@0: // does nothing here. sl@0: } sl@0: sl@0: TVerdict CEComPerfLogger::doTestStepL() sl@0: { sl@0: #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: // get all the timer results from the server sl@0: RStartupStateTimerResults timerResults; sl@0: timerResults.GetAllTimerResults(); sl@0: sl@0: TInt i = 0; sl@0: TInt count = timerResults.Count(); sl@0: for(i=0; i