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 java
.util
.Collections
;
19 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
20 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.experiment
.TmfExperiment
;
21 import org
.eclipse
.tracecompass
.tmf
.ctf
.core
.event
.CtfTmfEvent
;
24 * Experiment class containing traces from physical machine and the virtual
25 * guests running on them.
27 * @author Mohamad Gebai
29 public class VirtualMachineExperiment
extends TmfExperiment
{
32 * Default constructor. Needed by the extension point.
34 public VirtualMachineExperiment() {
35 this("", Collections
.EMPTY_SET
); //$NON-NLS-1$
39 * Constructor with traces and id
42 * The ID of this experiment
44 * The set of traces that are part of this experiment
46 public VirtualMachineExperiment(String id
, Set
<ITmfTrace
> traces
) {
47 super(CtfTmfEvent
.class, id
, traces
.toArray(new ITmfTrace
[traces
.size()]), TmfExperiment
.DEFAULT_INDEX_PAGE_SIZE
, null);
This page took 0.031247 seconds and 5 git commands to generate.