1 /*******************************************************************************
2 * Copyright (c) 2016 É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
8 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.analysis
.os
.linux
.core
.inputoutput
;
12 import org
.eclipse
.tracecompass
.statesystem
.core
.statevalue
.ITmfStateValue
;
13 import org
.eclipse
.tracecompass
.statesystem
.core
.statevalue
.TmfStateValue
;
16 * State values that are used in the io analysis event handlers.
18 * @author Houssem Daoud
21 public interface StateValues
{
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;
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
);