projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c64b9
)
Turbostat: use _Bool for boolean values
author
Vincent Brillault
<git@lerya.net>
Sat, 23 Aug 2014 14:30:06 +0000
(16:30 +0200)
committer
Vincent Brillault
<git@lerya.net>
Sat, 28 Feb 2015 06:35:41 +0000
(07:35 +0100)
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
03ffaf5
..
0f84a99
100644
(file)
--- a/
src/turbostat.c
+++ b/
src/turbostat.c
@@
-72,10
+72,11
@@
static _Bool aperf_mperf_unstable;
static unsigned int do_core_cstate;
static unsigned int do_pkg_cstate;
-static unsigned int do_rapl;
-static unsigned int do_dts;
-static unsigned int do_ptm;
+static _Bool do_dts;
+static _Bool do_ptm;
static unsigned int tcc_activation_temp;
+
+static unsigned int do_rapl;
static double rapl_energy_units;
#define RAPL_PKG (1 << 0)