1 /*******************************************************************************
2 * Copyright (c) 2013 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.callstack
;
15 import org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
.model
.TimeEvent
;
18 * Time Event implementation specific to the Call Stack View
20 * @author Patrick Tasse
23 public class CallStackEvent
extends TimeEvent
{
25 private int fValue
= -1;
28 * Standard constructor
31 * The entry that this event affects
33 * The start time of the event
35 * The duration of the event
37 * The event value (1-256)
39 public CallStackEvent(CallStackEntry entry
, long time
, long duration
, int value
) {
40 super(entry
, time
, duration
);
45 * Retrieve the value associated with this event
47 * @return The integer value
49 public int getValue() {
54 public String
toString() {
55 return getClass().getSimpleName() + " start=" + fTime
+ " end=" + (fTime
+ fDuration
) + " duration=" + fDuration
+ " value=" + fValue
; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
This page took 0.034078 seconds and 5 git commands to generate.