memspy/MemSpyClient/inc/memspythreaddata.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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MEMSPYTHREADDATA_H
       
    19 #define MEMSPYTHREADDATA_H
       
    20 
       
    21 //#include <kernel/arm/arm_types.h>
       
    22 
       
    23 class TMemSpyThreadData {
       
    24 public:
       
    25 	TMemSpyThreadData()
       
    26 	: iId(0), iPid(0), iSID(0), iVID(0), iRequestCount(0), iThreadHandles(0), iProcessHandles(0), iThreadNumberUsing(0), 
       
    27 	  iProcessNumberUsing(0), iAttributes(0), iCpuUse(0)
       
    28 		{
       
    29 		}
       
    30 	
       
    31 public:
       
    32     TThreadId iId;
       
    33     TProcessId iPid;    
       
    34     TFullName iName;    //name without formatting. Formatting to be moved to the Avkon UI part
       
    35     TInt iSID;
       
    36     TInt iVID;
       
    37     TThreadPriority iThreadPriority;
       
    38     TProcessPriority iProcessPriority;
       
    39     TInt iRequestCount;
       
    40     TInt iThreadHandles;
       
    41     TInt iProcessHandles;
       
    42     TInt iThreadNumberUsing;
       
    43     TInt iProcessNumberUsing;
       
    44     TInt iAttributes;
       
    45     TInt iCpuUse;        
       
    46     TExitType iExitType;
       
    47     RArray<TUint> iRegisters; //containts register contents of the thread (R00-R12, SP, LR, PC, Flags & DACR) - TUint for formating to HEX    
       
    48 };
       
    49 
       
    50 #endif