Commit | Line | Data |
---|---|---|
6e512b93 ASL |
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 | *******************************************************************************/ | |
9dbeec54 | 12 | |
638eac44 | 13 | package org.eclipse.linuxtools.internal.lttng.ui.views.statistics.model; |
6e512b93 ASL |
14 | |
15 | public class Statistics { | |
9dbeec54 FC |
16 | /** |
17 | * <h4>Number of event</h4> | |
18 | */ | |
6e512b93 | 19 | public long nbEvents = 0; |
9dbeec54 FC |
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 | */ | |
6e512b93 | 30 | public long cpuTime = 0; |
9dbeec54 FC |
31 | /** |
32 | * <h4>Cumulative CPU time</h4> | |
33 | * <p>Currently broken.</p> | |
34 | */ | |
6e512b93 | 35 | public long cumulativeCpuTime = 0; |
9dbeec54 FC |
36 | /** |
37 | * <h4>Elapsed time</h4> | |
38 | * <p>Result validity in eclipse unknown.</p> | |
39 | */ | |
6e512b93 ASL |
40 | public long elapsedTime = 0; |
41 | } |