aboutsummaryrefslogtreecommitdiff
path: root/iowatcher/fio.h
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2019-07-01 20:59:18 +0000
committerXin Li <delphij@google.com>2019-07-01 20:59:18 +0000
commitc8a6a475f46ae2cf8a9d3c32262b00b14123d9e6 (patch)
tree28ce16b16a7e52db33e3f6e094e396893e0d2001 /iowatcher/fio.h
parentfcf2bbd5a3d2553125dfc4055fe4ae57c5499669 (diff)
parent9c82183ae7fb7dc4db787b8796c652a732b4d552 (diff)
downloadblktrace-c8a6a475f46ae2cf8a9d3c32262b00b14123d9e6.tar.gz
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-mastertemp_140451723
Bug: 134405016 Change-Id: Icd38ba6290b413fe410869e29eae8e02699e32a8
Diffstat (limited to 'iowatcher/fio.h')
-rw-r--r--iowatcher/fio.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/iowatcher/fio.h b/iowatcher/fio.h
new file mode 100644
index 0000000..31ee473
--- /dev/null
+++ b/iowatcher/fio.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2013 Fusion-io
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License v2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+#ifndef __FIO__
+#define __FIO__
+
+int read_fio_event(struct trace *trace, int *time, u64 *bw, int *dir);
+int add_fio_gld(unsigned int time, u64 bw, struct graph_line_data *gld);
+int next_fio_line(struct trace *trace);
+struct trace *open_fio_trace(char *path);
+char *first_fio(struct trace *trace);
+
+#endif