summaryrefslogtreecommitdiff
path: root/source/module/monitor_proc.h
diff options
context:
space:
mode:
authorzy <[email protected]>2023-11-27 22:22:30 -0500
committerzy <[email protected]>2023-11-27 22:22:30 -0500
commit5e650478fb4b8ae27f63f584b1dd5c8597fc142a (patch)
tree7f1e7f4fc15edd971b14c564b99b992d04e9cbb0 /source/module/monitor_proc.h
parentfd459340a717933b5124f686f3c4f2ca0d3f32dc (diff)
/proc work
Diffstat (limited to 'source/module/monitor_proc.h')
-rw-r--r--source/module/monitor_proc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/module/monitor_proc.h b/source/module/monitor_proc.h
new file mode 100644
index 0000000..784cef6
--- /dev/null
+++ b/source/module/monitor_proc.h
@@ -0,0 +1,13 @@
+#ifndef MODULE_MONITOR_PROC_H
+#define MODULE_MONITOR_PROC_H
+
+#define DEFAULT_INTERVAL_NS 10000 // 10us
+#define DEFAULT_DUMP_RESET_SEC 5 // 5s
+
+extern int def_interval_ns;
+extern int dump_reset_sec;
+
+int monitor_proc_init(void);
+int monitor_proc_exit(void);
+
+#endif // MODULE_MONITOR_PROC_H \ No newline at end of file