aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_os_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-08 16:52:33 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-08 16:52:33 +0000
commit194224be3b68264c4147857604bed570bf3e8e36 (patch)
tree0f6ff9ff09015e56802c7fd5b3b0d40ff883eeb1 /src/include/gnunet_os_lib.h
parent29a092166fa5713d3aae69a0edd8373438423e22 (diff)
downloadgnunet-194224be3b68264c4147857604bed570bf3e8e36.tar.gz
gnunet-194224be3b68264c4147857604bed570bf3e8e36.zip
die cpu load code, die
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r--src/include/gnunet_os_lib.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h
index bea960346..701aae593 100644
--- a/src/include/gnunet_os_lib.h
+++ b/src/include/gnunet_os_lib.h
@@ -172,27 +172,6 @@ void GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor
172 172
173 173
174/** 174/**
175 * Get the current CPU load.
176 *
177 * @param cfg to determine acceptable load level (LOAD::MAXCPULOAD)
178 * @return -1 on error, otherwise load value (between 0 and 100,
179 * (100 is equivalent to full load for one CPU)
180 */
181int GNUNET_OS_load_cpu_get (const struct GNUNET_CONFIGURATION_Handle *cfg);
182
183
184/**
185 * Get the current IO load.
186 *
187 * @param cfg to determine acceptable load level (LOAD::MAXIOLOAD)
188 * @return -1 on error, otherwise load value (between 0 and 100,
189 * 100 means that we spend all of our cycles waiting for
190 * the disk)
191 */
192int GNUNET_OS_load_disk_get (const struct GNUNET_CONFIGURATION_Handle *cfg);
193
194
195/**
196 * Set process priority 175 * Set process priority
197 * 176 *
198 * @param proc id of the process 177 * @param proc id of the process