sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/model/GenericSampledTraceWithFunctions.java
equal
deleted
inserted
replaced
|
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.internal.pi.model; |
|
19 |
|
20 |
|
21 import java.util.Enumeration; |
|
22 |
|
23 public abstract class GenericSampledTraceWithFunctions extends GenericSampledTrace implements RefinableTrace |
|
24 { |
|
25 private static final long serialVersionUID = 8246297583039760015L; |
|
26 |
|
27 public void refineTrace(FunctionResolver resolver) |
|
28 { |
|
29 if (!resolver.canResolve()) |
|
30 return; |
|
31 |
|
32 Enumeration sEnum = this.samples.elements(); |
|
33 while (sEnum.hasMoreElements()) |
|
34 { |
|
35 GenericSampleWithFunctions s = (GenericSampleWithFunctions)sEnum.nextElement(); |
|
36 s.resolveFunction(resolver); |
|
37 } |
|
38 } |
|
39 |
|
40 public void finalizeTrace() { |
|
41 } |
|
42 } |