summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-29 09:08:22 -0400
committerEd Nash <enash54@gmail.com>2013-07-29 09:08:22 -0400
commit08757351fb4e55f6b8ed0f1a6e9b11329c6daedb (patch)
tree607212cb56e66a3975f039f69402cfc0a0994592 /include/linux
parent28dd51850b753fea8a61848d0eae1f97459e3d5b (diff)
add latency stats and make debugfs writeable
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mvf_sema4.h5
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);