cctools
load_average.h
Go to the documentation of this file.
1/*
2Copyright (C) 2022 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See the file COPYING for details.
5*/
6
7#ifndef LOAD_AVERAGE_H
8#define LOAD_AVERAGE_H
9
17void load_average_get(double *avg);
18
25
26#endif
int load_average_get_cpus()
Get the number of CPU cores.
void load_average_get(double *avg)
Get the current load average.