diff options
author | Ed Nash <enash54@gmail.com> | 2013-07-29 09:08:22 -0400 |
---|---|---|
committer | roshni.shah <roshni.shah@timesys.com> | 2014-01-04 19:33:23 -0500 |
commit | 4dfc1fad0f184cfe1e81ef2405c908db5ccaaaf3 (patch) | |
tree | 607212cb56e66a3975f039f69402cfc0a0994592 /include | |
parent | c0916ea641fee1f5df29ff203b595a0bc976daf4 (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); |