analyzetool/commandlineengine/inc/CATProcessData.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 49 7fdc9a71d314
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
     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:  Definitions for class CATParseTrace, CProcessData and
       
    15 *               CSubTestData.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef __CATPROCESSDATA_H__
       
    20 #define __CATPROCESSDATA_H__
       
    21 
       
    22 /**
       
    23 * Represents data of a single subtest.
       
    24 */
       
    25 class CSubTestData : public CATAllocs
       
    26 {
       
    27 public:
       
    28 	// Members
       
    29 
       
    30 	bool bRunning; /** Is sub test running */
       
    31 	vector<string> vData; /** data */
       
    32 	string sSubTestName; /** test name */
       
    33 	string sStartTime; /** start time */
       
    34 	string sEndTime; /** end time */
       
    35 	string sSubTestStartHandleCount; /** handle count at start */
       
    36 	string sSubTestEndHandleCount; /** handle count at end */
       
    37 };
       
    38 
       
    39 /**
       
    40 * Represents data of a single run.
       
    41 */
       
    42 class CProcessData : public CATAllocs
       
    43 {
       
    44 public:
       
    45 	// Members
       
    46 
       
    47 	bool bProcessOnGoing; /** is process on going */
       
    48 	int iProcessID; /** process id (pid)*/
       
    49 	vector<string> vData; /** data */
       
    50 	vector<string> vHandleLeaks; /** handle leak(s) */
       
    51 	vector<CSubTestData> vSubTests; /** process sub test(s) */
       
    52 
       
    53 	// time at the start of the process - time stamp at the start of process
       
    54 	// in microseconds
       
    55 	unsigned __int64 iTimeSpan;
       
    56 };
       
    57 
       
    58 #endif