load_average.h
Go to the documentation of this file.
/*
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef LOAD_AVERAGE_H
#define LOAD_AVERAGE_H
void load_average_get(double *avg);
int load_average_get_cpus();
#endif
load_average_get_cpus
int load_average_get_cpus()
Get the number of CPU cores.
load_average_get
void load_average_get(double *avg)
Get the current load average.