sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.instr/src/com/nokia/carbide/cpp/pi/instr/IttTrace.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.GenericSampledTraceWithFunctions;
       
    21 import com.nokia.carbide.cpp.internal.pi.visual.GenericTraceGraph;
       
    22 
       
    23 
       
    24 public class IttTrace extends GenericSampledTraceWithFunctions
       
    25 {	
       
    26 	private static final long serialVersionUID = 8450351679961604426L;
       
    27 	
       
    28 	public void addSample(IttSample sample)
       
    29 	{
       
    30 		this.samples.add(sample);
       
    31 	}
       
    32 
       
    33 	public IttSample getIttSample(int number)
       
    34 	{
       
    35 		return (IttSample)this.samples.elementAt(number);
       
    36 	}
       
    37 
       
    38 	public GenericTraceGraph getTraceGraph() {
       
    39 		return null;
       
    40 	}
       
    41 
       
    42 	/* (non-Javadoc)
       
    43 	 * @see com.nokia.carbide.cpp.internal.pi.model.GenericSampledTrace#getTraceGraph(int, com.nokia.carbide.cpp.internal.pi.analyser.AnalyseTab)
       
    44 	 */
       
    45 	public GenericTraceGraph getTraceGraph(int graphNumber) {
       
    46 		return null;
       
    47 	}
       
    48 }