Commit | Line | Data |
---|---|---|
6d02c5c1 HD |
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.analysis.os.linux.core.inputoutput; | |
11 | ||
12 | import org.eclipse.tracecompass.statesystem.core.statevalue.ITmfStateValue; | |
13 | import org.eclipse.tracecompass.statesystem.core.statevalue.TmfStateValue; | |
14 | ||
15 | /** | |
16 | * State values that are used in the io analysis event handlers. | |
17 | * | |
18 | * @author Houssem Daoud | |
19 | * @since 2.0 | |
20 | */ | |
21 | public interface StateValues { | |
22 | ||
23 | /* IO Operation type values */ | |
24 | /** Value for write request */ | |
25 | int WRITING_REQUEST = 1; | |
26 | /** Value for read requests */ | |
27 | int READING_REQUEST = 2; | |
28 | ||
29 | /** State value for write requests */ | |
30 | ITmfStateValue WRITING_REQUEST_VALUE = TmfStateValue.newValueInt(WRITING_REQUEST); | |
31 | /** State value for read requests */ | |
32 | ITmfStateValue READING_REQUEST_VALUE = TmfStateValue.newValueInt(READING_REQUEST); | |
33 | } |