Commit | Line | Data |
---|---|---|
e34d62dc GB |
1 | /******************************************************************************* |
2 | * Copyright (c) 2016 École Polytechnique de Montréal | |
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.lttng2.kernel.core.tests.perf.analysis.kernel; | |
11 | ||
12 | import org.eclipse.jdt.annotation.NonNull; | |
13 | import org.eclipse.tracecompass.analysis.os.linux.core.kernelanalysis.KernelAnalysisModule; | |
14 | ||
15 | /** | |
16 | * This class is an extension of {@link KernelAnalysisModule} that uses a null | |
17 | * backend instead of the default one. This allows to benchmark this analysis | |
18 | * without benchmarking the insertions in the state system. | |
19 | * | |
20 | * @author Geneviève Bastien | |
21 | */ | |
22 | public class KernelAnalysisModuleNullBeStub extends KernelAnalysisModule { | |
23 | ||
24 | @Override | |
25 | protected @NonNull StateSystemBackendType getBackendType() { | |
26 | return StateSystemBackendType.NULL; | |
27 | } | |
28 | ||
29 | } |