4eef98ceafafb2af5c223a75b714a39b64e840d4
1 /*******************************************************************************
2 * Copyright (c) 2014, 2015 École Polytechnique de Montréal
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 * Mohamad Gebai - Initial API and implementation
11 * Patrick Tasse - Fix experiment name
12 *******************************************************************************/
14 package org
.eclipse
.tracecompass
.internal
.lttng2
.kernel
.core
.analysis
.vm
.trace
;
16 import static org
.eclipse
.tracecompass
.common
.core
.NonNullUtils
.checkNotNull
;
18 import java
.util
.Collections
;
21 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
22 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.experiment
.TmfExperiment
;
23 import org
.eclipse
.tracecompass
.tmf
.ctf
.core
.event
.CtfTmfEvent
;
26 * Experiment class containing traces from physical machine and the virtual
27 * guests running on them.
29 * @author Mohamad Gebai
31 public class VirtualMachineExperiment
extends TmfExperiment
{
34 * Default constructor. Needed by the extension point.
36 public VirtualMachineExperiment() {
37 this("", checkNotNull(Collections
.EMPTY_SET
)); //$NON-NLS-1$
41 * Constructor with traces and id
44 * The ID of this experiment
46 * The set of traces that are part of this experiment
48 public VirtualMachineExperiment(String id
, Set
<ITmfTrace
> traces
) {
49 super(CtfTmfEvent
.class, id
, traces
.toArray(new ITmfTrace
[traces
.size()]), TmfExperiment
.DEFAULT_INDEX_PAGE_SIZE
, null);
This page took 0.037303 seconds and 4 git commands to generate.