diff options
author | Ed Nash <enash54@gmail.com> | 2013-07-29 09:08:22 -0400 |
---|---|---|
committer | Ed Nash <enash54@gmail.com> | 2013-07-29 09:08:22 -0400 |
commit | 08757351fb4e55f6b8ed0f1a6e9b11329c6daedb (patch) | |
tree | 607212cb56e66a3975f039f69402cfc0a0994592 /include/linux | |
parent | 28dd51850b753fea8a61848d0eae1f97459e3d5b (diff) |
add latency stats and make debugfs writeable
Diffstat (limited to 'include/linux')
-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); |