sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/model/ProfiledBinary.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 public class ProfiledBinary extends ProfiledGeneric |
|
21 { |
|
22 public ProfiledBinary() |
|
23 { |
|
24 super(); |
|
25 } |
|
26 |
|
27 public String toString(int graphIndex) |
|
28 { |
|
29 if (this.isEnabled(graphIndex)) |
|
30 { |
|
31 return "true " + this.getAverageLoadValueString(graphIndex) + getNameString(); //$NON-NLS-1$ |
|
32 } |
|
33 else |
|
34 { |
|
35 return "false " + this.getAverageLoadValueString(graphIndex) + getNameString(); //$NON-NLS-1$ |
|
36 } |
|
37 } |
|
38 |
|
39 } |