memspy/MemSpyClient/inc/memspythreaddata.h
changeset 26 4fde310f06fe
equal deleted inserted replaced
21:f5d4820de50d 26:4fde310f06fe
       
     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