use monotonic clock for all time computations
return irrs;
}
- int do_proc_interrupts(int update_every, unsigned long long dt) {
+ int do_proc_interrupts(int update_every, usec_t dt) {
(void)dt;
-
static procfile *ff = NULL;
static int cpus = -1, do_per_core = -1;
struct interrupt *irrs = NULL;
return irrs;
}
- int do_proc_softirqs(int update_every, unsigned long long dt) {
+ int do_proc_softirqs(int update_every, usec_t dt) {
(void)dt;
-
static procfile *ff = NULL;
static int cpus = -1, do_per_core = -1;
-
struct interrupt *irrs = NULL;
if(unlikely(do_per_core == -1)) do_per_core = config_get_boolean("plugin:proc:/proc/softirqs", "interrupts per core", 1);