nfs-ganesha 1.4

fsal_stats.c

Go to the documentation of this file.
00001 /*
00002  * vim:expandtab:shiftwidth=4:tabstop=4:
00003  */
00004 
00014 #ifdef HAVE_CONFIG_H
00015 #include "config.h"
00016 #endif
00017 
00018 #include "fsal.h"
00019 #include "fsal_internal.h"
00020 
00033 void VFSFSAL_get_stats(fsal_statistics_t * stats,  /* OUT */
00034                     fsal_boolean_t reset        /* IN */
00035     )
00036 {
00037 
00038   /* sanity check. */
00039   if(!stats)
00040     return;
00041 
00042   /* returns stats for this thread. */
00043   fsal_internal_getstats(stats);
00044 
00045   return;
00046 }