sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.instr/src/com/nokia/carbide/cpp/pi/instr/IttEvent122.java
changeset 2 b9ab3b238396
child 5 844b047e260d
equal deleted inserted replaced
1:1050670c6980 2:b9ab3b238396
       
     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 the License "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 package com.nokia.carbide.cpp.pi.instr;
       
    19 
       
    20 import com.nokia.carbide.cpp.internal.pi.model.Binary;
       
    21 import com.nokia.carbide.cpp.internal.pi.model.GenericEvent;
       
    22 
       
    23 public class IttEvent122 extends GenericEvent 
       
    24   {
       
    25 	private static final long serialVersionUID = -5460562756042454539L;
       
    26 
       
    27 	public String binaryName;
       
    28 	public long binaryLength;
       
    29 	public long binaryLocation;
       
    30 	public Binary binary;
       
    31 
       
    32 	public IttEvent122()
       
    33 	{
       
    34 		super(0);
       
    35 	}
       
    36 	
       
    37 	public void createBinary()
       
    38 	{
       
    39 		binary = new Binary(this.binaryName);
       
    40 		binary.length = (int)this.binaryLength;
       
    41 		binary.offsetToCodeStart = 0;
       
    42 		binary.startAddress = this.binaryLocation;
       
    43 		binary.type = Messages.getString("IttEvent122.unknownBinaryType"); //$NON-NLS-1$
       
    44 	}
       
    45   }