diff -r 0ff24a8f6ca2 -r 98307c651589 perfsrv/analyzetool/commandlineengine/inc/CATProcessData.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perfsrv/analyzetool/commandlineengine/inc/CATProcessData.h Mon Sep 06 15:00:47 2010 +0300 @@ -0,0 +1,58 @@ +/* +* 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: Definitions for class CATParseTrace, CProcessData and +* CSubTestData. +* +*/ + +#ifndef __CATPROCESSDATA_H__ +#define __CATPROCESSDATA_H__ + +/** +* Represents data of a single subtest. +*/ +class CSubTestData : public CATAllocs +{ +public: + // Members + + bool bRunning; /** Is sub test running */ + vector vData; /** data */ + string sSubTestName; /** test name */ + string sStartTime; /** start time */ + string sEndTime; /** end time */ + string sSubTestStartHandleCount; /** handle count at start */ + string sSubTestEndHandleCount; /** handle count at end */ +}; + +/** +* Represents data of a single run. +*/ +class CProcessData : public CATAllocs +{ +public: + // Members + + bool bProcessOnGoing; /** is process on going */ + int iProcessID; /** process id (pid)*/ + vector vData; /** data */ + vector vHandleLeaks; /** handle leak(s) */ + vector vSubTests; /** process sub test(s) */ + + // time at the start of the process - time stamp at the start of process + // in microseconds + unsigned __int64 iTimeSpan; +}; + +#endif \ No newline at end of file