1 /*******************************************************************************
2 * Copyright (c) 2009 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 * William Bourque - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.lttng
.ui
.views
.histogram
;
15 * <b><u>HistogramElement</u></b>
17 * This is used by the content to keep its data.
18 * It would be a struct if such a thing would exist in java.
20 * Each "element" should represent a certain time interval
22 public class HistogramElement
{
23 public int index
= 0; // Position of the element in the table (table index, obviously)
24 public long firstIntervalTimestamp
= 0L; // The first timestamp recorded for this interval
25 public long intervalNbEvents
= 0L; // Number of events recorded in this interval
26 public int intervalHeight
= 0; // Height (in the canvas) of this element. Should be smaller than the canvas height.
This page took 0.033159 seconds and 5 git commands to generate.