summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd.h
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2011-03-10 02:20:39 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-10 08:09:58 -0800
commita0aafa365dd355864d24232bd6d7f399ef38f9ef (patch)
tree5911492054085849f13f7a8a58983ee599c242db /cli/src/cli-cmd.h
parent496a04f3b2d46893635f93e5a33032969a826cd2 (diff)
cli: gluster profile CLI
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1965 (need a cmd to get io-stat details) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965
Diffstat (limited to 'cli/src/cli-cmd.h')
-rw-r--r--cli/src/cli-cmd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/src/cli-cmd.h b/cli/src/cli-cmd.h
index 4daf7fae39f..ee784f0e95b 100644
--- a/cli/src/cli-cmd.h
+++ b/cli/src/cli-cmd.h
@@ -43,6 +43,15 @@ struct cli_cmd_volume_get_ctx_ {
int flags;
};
+typedef struct cli_profile_info_ {
+ uint64_t fop_hits;
+ double min_latency;
+ double max_latency;
+ double avg_latency;
+ char *fop_name;
+ double percentage_avg_latency;
+} cli_profile_info_t;
+
typedef struct cli_cmd_volume_get_ctx_ cli_cmd_volume_get_ctx_t;
int cli_cmd_volume_register (struct cli_state *state);