ze-filter
(ze-filter-0.8.0-develop-180218)
ze-load.h
Go to the documentation of this file.
1
/*
2
*
3
* ze-filter - Mail Server Filter for sendmail
4
*
5
* Copyright (c) 2001-2018 - Jose-Marcio Martins da Cruz
6
*
7
* Auteur : Jose Marcio Martins da Cruz
8
* jose.marcio.mc@gmail.org
9
*
10
* Historique :
11
* Creation : janvier 2002
12
*
13
* This program is free software, but with restricted license :
14
*
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
*
20
* More details about ze-filter license can be found at ze-filter
21
* web site : http://foss.jose-marcio.org
22
*/
23
24
25
#ifndef __ZE_CPULOAD_H
26
33
#define JCPU_IDLE 0
34
#define JCPU_USER 1
35
#define JCPU_NICE 2
36
#define JCPU_KERNEL 3
37
#define JCPU_WAIT 4
38
39
40
double
get_cpu_load_info
(
int
);
41
void
print_cpu_load_info
();
42
void
log_cpu_load_info
();
43
44
bool
cpuload_start
(
void
);
45
void
cpuload_stop
(
void
);
46
47
void
load_measure_stop
(
void
);
48
51
#define __ZE_CPULOAD_H
52
#endif
get_cpu_load_info
double get_cpu_load_info(int)
Definition:
ze-load.c:753
cpuload_stop
void cpuload_stop(void)
Definition:
ze-load.c:836
print_cpu_load_info
void print_cpu_load_info()
Definition:
ze-load.c:665
cpuload_start
bool cpuload_start(void)
Definition:
ze-load.c:846
log_cpu_load_info
void log_cpu_load_info()
Definition:
ze-load.c:692
load_measure_stop
void load_measure_stop(void)
include
ze-load.h
Generated by
1.8.13