2c8fd978f1972b0a435a5c392ada066bbf430167
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.ui / src / org / eclipse / tracecompass / internal / analysis / os / linux / ui / views / latency / SystemCallDensityViewer.java
1 /******************************************************************************
2 * Copyright (c) 2015 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
10 package org.eclipse.tracecompass.internal.analysis.os.linux.ui.views.latency;
11
12 import org.eclipse.jdt.annotation.Nullable;
13 import org.eclipse.swt.widgets.Composite;
14 import org.eclipse.tracecompass.analysis.os.linux.core.latency.SystemCallLatencyAnalysis;
15 import org.eclipse.tracecompass.analysis.timing.core.segmentstore.ISegmentStoreProvider;
16 import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.density.AbstractSegmentStoreDensityViewer;
17 import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
18 import org.eclipse.tracecompass.tmf.core.trace.TmfTraceUtils;
19
20 /**
21 * System Call density viewer
22 *
23 * @author Matthew Khouzam
24 * @author Marc-Andre Laperle
25 */
26 public class SystemCallDensityViewer extends AbstractSegmentStoreDensityViewer {
27
28 /**
29 * Constructs a new density viewer.
30 *
31 * @param parent
32 * the parent of the viewer
33 */
34 public SystemCallDensityViewer(Composite parent) {
35 super(parent);
36 }
37
38 @Override
39 protected @Nullable ISegmentStoreProvider getSegmentStoreProvider(ITmfTrace trace) {
40 return TmfTraceUtils.getAnalysisModuleOfClass(trace, SystemCallLatencyAnalysis.class, SystemCallLatencyAnalysis.ID);
41 }
42 }
This page took 0.031623 seconds and 4 git commands to generate.