diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2020-09-04 10:44:17 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-09-07 19:15:10 +0000 |
commit | 0935afb947e520fd8e41ebfc311888eafc6afdc0 (patch) | |
tree | 3a263636462fad5b661775ce83a5ab09e591413c /libglusterfs/src/glusterfs/xlator.h | |
parent | c696144b3690f7ed8cf04a8b51ca601f45e427ad (diff) | |
download | glusterfs-0935afb947e520fd8e41ebfc311888eafc6afdc0.tar.gz glusterfs-0935afb947e520fd8e41ebfc311888eafc6afdc0.tar.xz glusterfs-0935afb947e520fd8e41ebfc311888eafc6afdc0.zip |
rpcsvc: Add latency tracking for rpc programs
Added latency tracking of rpc-handling code. With this change we
should be able to monitor the amount of time rpc-handling code is
consuming for each of the rpc call.
fixes: #1466
Change-Id: I04fc7f3b12bfa5053c0fc36885f271cb78f581cd
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs/xlator.h')
-rw-r--r-- | libglusterfs/src/glusterfs/xlator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs/xlator.h b/libglusterfs/src/glusterfs/xlator.h index 23004ab224..4fd3abdaef 100644 --- a/libglusterfs/src/glusterfs/xlator.h +++ b/libglusterfs/src/glusterfs/xlator.h @@ -805,7 +805,7 @@ struct _xlator { struct { /* for latency measurement */ - fop_latency_t latencies[GF_FOP_MAXVALUE]; + gf_latency_t latencies[GF_FOP_MAXVALUE]; /* for latency measurement */ fop_metrics_t metrics[GF_FOP_MAXVALUE]; |