Sachin Punadikar has uploaded this change for review.

View Change

Provide stats collection start time and duration

"ganesha_stats" command shows various statistics. Recently the utility
enhanced with new options like enable, disable stats counting, reset
stats counter etc. In this context it is good to know since when the
stats counting has been done.
By default the o/p used to show current timestamp. Now enhanced the
code to display the start time of that specific type of stat counting.
Updated "ganesha_stats" utility to display the duration.

Change-Id: Iaeff99d8ac676da5617567f3088897a7af02e972
Signed-off-by: Sachin Punadikar <psachin@in.ibm.com>
---
M src/FSAL/FSAL_GPFS/fsal_stats_gpfs.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_main.c
M src/idmapper/idmapper.c
M src/include/server_stats_private.h
M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py
M src/support/export_mgr.c
M src/support/server_stats.c
7 files changed, 138 insertions(+), 136 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/462948/1

To view, visit change 462948. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iaeff99d8ac676da5617567f3088897a7af02e972
Gerrit-Change-Number: 462948
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psachin@in.ibm.com>
Gerrit-MessageType: newchange