cctools
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
dttools
src
load_average.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2008- The University of Notre Dame
3
This software is distributed under the GNU General Public License.
4
See the file COPYING for details.
5
*/
6
7
#ifndef LOAD_AVERAGE_H
8
#define LOAD_AVERAGE_H
9
17
void
load_average_get
(
double
*avg);
18
24
int
load_average_get_cpus
();
25
26
#endif
load_average_get
void load_average_get(double *avg)
Get the current load average.
load_average_get_cpus
int load_average_get_cpus()
Get the number of CPU cores.
Generated by
1.8.5