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
23 @SuppressWarnings({ "nls" })
24 public interface Attributes
{
26 /* First-level attributes */
28 /** Root attribute for disks */
29 String DISKS
= "Disks";
30 /** Root attribute of the waiting queue requests */
31 String WAITING_QUEUE
= "Waiting_queue";
32 /** Root attribute of the driver queue requests */
33 String DRIVER_QUEUE
= "Driver_queue";
34 /** Length of the driver queue */
35 String DRIVER_QUEUE_LENGTH
= "driverqueue_length";
36 /** Length of the waiting queue */
37 String WAITING_QUEUE_LENGTH
= "waitingqueue_length";
38 /** Base sector of the request */
39 String CURRENT_REQUEST
= "Current_request";
40 /** Size of a request */
41 String REQUEST_SIZE
= "Request_size";
43 * Contains the request in the waiting queue to which this request was
46 String MERGED_IN
= "merged_in";
47 /** The request in the waiting queue this driver request was issued from */
48 String ISSUED_FROM
= "issued_from";
49 /** Number of sectors read */
50 String SECTORS_READ
= "sectors_read";
51 /** Number of sectors written */
52 String SECTORS_WRITTEN
= "sectors_written";
54 /** System call root attribute */
55 String SYSTEM_CALLS_ROOT
= "system_calls";
57 /** Root attribute for thread r/w */
58 String THREADS
= "Threads";
59 /** Number of bytes read by a thread */
60 String BYTES_READ
= "bytes_read";
61 /** Number of bytes written by a thread */
62 String BYTES_WRITTEN
= "bytes_written";