allow global normalization variables in freebsd
Costa Tsaousis (ktsaou) committed
Mar 31, 2017 at 01:14 UTC
9f3487baaac2298c5439597eed483a4896a0bc62
1 file changed
+1
-2
src/apps_plugin.c
+1
-2
@@ -114,7 +114,7 @@ static kernel_uint_t
114
global_utime = 0,
115
global_stime = 0,
116
global_gtime = 0;
117
-
117
+#endif
118
119
// the normalization ratios, as calculated by normalize_utilization()
120
double utime_fix_ratio = 1.0,
@@ -127,7 +127,6 @@ double utime_fix_ratio = 1.0,
127
cgtime_fix_ratio = 1.0,
128
cminflt_fix_ratio = 1.0,
129
cmajflt_fix_ratio = 1.0;
130
-#endif
130
131
// ----------------------------------------------------------------------------
132
// target