summaryrefslogtreecommitdiff
path: root/source/module/monitor_proc.h
diff options
context:
space:
mode:
authorzy <[email protected]>2023-12-14 02:22:17 -0500
committerzy <[email protected]>2023-12-14 02:22:17 -0500
commita7e4c1e4fa85714a9e062afe5529218871bb959f (patch)
tree967065ff95c1a718a9044d8f4d4bb0b26c1b628d /source/module/monitor_proc.h
parent5d9fd19ddb02326e3d6d9534b899376afe8d9049 (diff)
ucli perf software irq
Diffstat (limited to 'source/module/monitor_proc.h')
-rw-r--r--source/module/monitor_proc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/module/monitor_proc.h b/source/module/monitor_proc.h
index 33a3ead..8ed4efc 100644
--- a/source/module/monitor_proc.h
+++ b/source/module/monitor_proc.h
@@ -2,10 +2,12 @@
#define MODULE_MONITOR_PROC_H
#define DEFAULT_INTERVAL_NS 10000 // 10us
-#define DEFAULT_DUMP_RESET_SEC 60 // 60s
+#define DEFAULT_DUMP_RESET_SEC 10 // 60s
+#define DEFAULT_SAMPLE_ALL 0
extern int def_interval_ns;
extern int dump_reset_sec;
+extern int sample_all;
int monitor_proc_init(void);
int monitor_proc_exit(void);