#include <nfsStats.H>
Public Member Functions | |
| NFS_Call_Stats () | |
| ~NFS_Call_Stats () | |
Static Public Member Functions | |
| static void | getStats (Basics::uint64 &calls, Basics::uint64 &secs, Basics::uint32 &usecs) |
Private Member Functions | |
| void | accumulateStats (Basics::uint64 &calls, Basics::uint64 &secs, Basics::uint32 &usecs) |
| void | recordCall (Basics::uint32 secs, Basics::uint32 &usecs) |
Private Attributes | |
| NFS_Call_Stats * | next |
| Basics::mutex | mu |
| Basics::uint64 | call_count |
| Basics::uint64 | elapsed_secs |
| Basics::uint32 | elapsed_usecs |
Static Private Attributes | |
| static Basics::mutex | head_mu |
| static NFS_Call_Stats * | head = 0 |
Friends | |
| class | Helper |
Classes | |
| class | Helper |
|
|
Definition at line 93 of file nfsStats.C. References Basics::mutex::lock(), next, and Basics::mutex::unlock(). |
|
|
Definition at line 103 of file nfsStats.C. |
|
||||||||||||||||
|
Definition at line 31 of file nfsStats.C. References call_count, elapsed_secs, elapsed_usecs, Basics::mutex::lock(), mu, and Basics::mutex::unlock(). Referenced by getStats(). |
|
||||||||||||||||
|
Definition at line 59 of file nfsStats.C. References accumulateStats(), Basics::mutex::lock(), next, Basics::mutex::unlock(), and USECS_PER_SEC. |
|
||||||||||||
|
Definition at line 42 of file nfsStats.C. References call_count, elapsed_secs, elapsed_usecs, Basics::mutex::lock(), mu, Basics::mutex::unlock(), and USECS_PER_SEC. Referenced by NFS_Call_Stats::Helper::~Helper(). |
|
|
Definition at line 80 of file nfsStats.H. |
|
|
Definition at line 46 of file nfsStats.H. Referenced by accumulateStats(), and recordCall(). |
|
|
Definition at line 47 of file nfsStats.H. Referenced by accumulateStats(), and recordCall(). |
|
|
Definition at line 48 of file nfsStats.H. Referenced by accumulateStats(), and recordCall(). |
|
|
Definition at line 29 of file nfsStats.C. |
|
|
Definition at line 28 of file nfsStats.C. |
|
|
Definition at line 43 of file nfsStats.H. Referenced by accumulateStats(), and recordCall(). |
|
|
Definition at line 40 of file nfsStats.H. Referenced by getStats(), and NFS_Call_Stats(). |
1.4.2