f3d4a55ea01c723cda2a995fe3892a325fda5af7
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / analysis / os / linux / core / inputoutput / Attributes.java
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 /**
13 * This file defines all the attribute names used in the handler. Both the
14 * construction and query steps should use them.
15 *
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.
20 *
21 * @author Houssem Daoud
22 * @since 2.0
23 *
24 */
25 @SuppressWarnings({ "nls" })
26 public interface Attributes {
27
28 /* First-level attributes */
29
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";
44 /**
45 * Contains the request in the waiting queue to which this request was
46 * merged
47 */
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";
55
56 /** System call root attribute */
57 String SYSTEM_CALLS_ROOT = "system_calls";
58
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";
65
66 }
This page took 0.032164 seconds and 4 git commands to generate.