diff options
author | Ed Nash <enash54@gmail.com> | 2013-07-29 09:08:22 -0400 |
---|---|---|
committer | Anthony Felice <tony.felice@timesys.com> | 2013-10-09 12:56:42 -0400 |
commit | db8842c5acfb01f940ef46584d96b32aa79d82a4 (patch) | |
tree | 0d925e096fedb251ebdaf1b4c707236c285c3bcc /include | |
parent | 174771988f9b4a675722cb2b42ede3b4f0090598 (diff) |
add latency stats and make debugfs writeable
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mvf_sema4.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mvf_sema4.h b/include/linux/mvf_sema4.h index 3f6e4f5d97bb..7b25996f9417 100644 --- a/include/linux/mvf_sema4.h +++ b/include/linux/mvf_sema4.h @@ -16,7 +16,10 @@ typedef struct mvf_sema4_handle_struct { // stats u32 attempts; u32 interrupts; - struct dentry *debugfs_file; + u32 failures; + struct timeval request_time; + u64 total_latency_us; + u32 worst_latency_us; } MVF_SEMA4; int mvf_sema4_assign(int gate_num, bool use_interrupts, MVF_SEMA4** sema4_p); |