~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/views/statistics/model/Statistics.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2012-06-29 12:07:30 UTC
  • Revision ID: package-import@ubuntu.com-20120629120730-bfri1xys1i71dpn6
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
 * Copyright (c) 2009 Ericsson
 
3
 * 
 
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
 
8
 * 
 
9
 * Contributors:
 
10
 *   Yann N. Dauphin     (dhaemon@gmail.com)  - Implementation for stats
 
11
 *******************************************************************************/
 
12
 
 
13
package org.eclipse.linuxtools.internal.lttng.ui.views.statistics.model;
 
14
 
 
15
public class Statistics {
 
16
        /**
 
17
         * <h4>Number of event</h4>
 
18
         */
 
19
        public long nbEvents = 0;
 
20
        /**
 
21
         * <h4>CPU time</h4>
 
22
         * <p>Many events are excluded of the CPU time:
 
23
         * <ul>
 
24
         *              <li>All events in MODE_UNKNOWN</li>
 
25
         *              <li>All events before a sched_schedule on a given CPU</li>
 
26
         *              <li>All events in a process after the process_exit</li>
 
27
         *              <li>Maybe some others</li>
 
28
         * </ul>
 
29
         */
 
30
        public long cpuTime = 0;
 
31
        /**
 
32
         * <h4>Cumulative CPU time</h4>
 
33
         * <p>Currently broken.</p>
 
34
         */
 
35
        public long cumulativeCpuTime = 0;
 
36
        /**
 
37
         * <h4>Elapsed time</h4>
 
38
         * <p>Result validity in eclipse unknown.</p>
 
39
         */
 
40
        public long elapsedTime = 0;
 
41
}