blob: d399c19c8e8fb2c6ef22ecfc8115e9f064ebbf5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "output.h"
#include "thresholds.h"
typedef struct {
mp_thresholds th_load[3];
bool take_into_account_cpus;
int n_procs_to_show;
mp_output_format output_format;
bool output_format_set;
} check_load_config;
check_load_config check_load_config_init() {
check_load_config tmp = {
.th_load =
{
mp_thresholds_init(),
mp_thresholds_init(),
mp_thresholds_init(),
},
.take_into_account_cpus = false,
.n_procs_to_show = 0,
.output_format_set = false,
};
return tmp;
}
|