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
;
13 * This file defines all the attribute names used in the handler. Both the
14 * construction and query steps should use them.
16 * These should not be externalized! The values here are used as-is in the
17 * history file on disk, so they should be kept the same to keep the file format
18 * compatible. If a view shows attribute names directly, the localization should
19 * be done on the viewer side.
21 * @author Houssem Daoud
25 @SuppressWarnings({ "nls" })
26 public interface Attributes
{
28 /* First-level attributes */
30 /** Root attribute for disks */
31 String DISKS
= "Disks";
32 /** Root attribute of the waiting queue requests */
33 String WAITING_QUEUE
= "Waiting_queue";
34 /** Root attribute of the driver queue requests */
35 String DRIVER_QUEUE
= "Driver_queue";
36 /** Length of the driver queue */
37 String DRIVER_QUEUE_LENGTH
= "driverqueue_length";
38 /** Length of the waiting queue */
39 String WAITING_QUEUE_LENGTH
= "waitingqueue_length";
40 /** Base sector of the request */
41 String CURRENT_REQUEST
= "Current_request";
42 /** Size of a request */
43 String REQUEST_SIZE
= "Request_size";
45 * Contains the request in the waiting queue to which this request was
48 String MERGED_IN
= "merged_in";
49 /** The request in the waiting queue this driver request was issued from */
50 String ISSUED_FROM
= "issued_from";
51 /** Number of sectors read */
52 String SECTORS_READ
= "sectors_read";
53 /** Number of sectors written */
54 String SECTORS_WRITTEN
= "sectors_written";
56 /** System call root attribute */
57 String SYSTEM_CALLS_ROOT
= "system_calls";
59 /** Root attribute for thread r/w */
60 String THREADS
= "Threads";
61 /** Number of bytes read by a thread */
62 String BYTES_READ
= "bytes_read";
63 /** Number of bytes written by a thread */
64 String BYTES_WRITTEN
= "bytes_written";