From a0aafa365dd355864d24232bd6d7f399ef38f9ef Mon Sep 17 00:00:00 2001 From: Pranith K Date: Thu, 10 Mar 2011 02:20:39 +0000 Subject: cli: gluster profile CLI Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1965 (need a cmd to get io-stat details) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965 --- cli/src/cli-cmd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cli/src/cli-cmd.h') 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); -- cgit