Cygwin: cygtls: rename sig to current_sig
[newlib-cygwin.git] / winsup / cygwin / local_includes / loadavg.h
blobe6fb594d0e7d1d3c8eaec246e21b99efc7c4668f
1 /* loadavg.h: load average support.
3 This file is part of Cygwin.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
7 details. */
9 #ifndef LOADAVG_H
10 #define LOADAVG_H
12 class loadavginfo
14 double loadavg[3];
15 time_t last_time;
17 public:
18 void initialize ();
19 int fetch (double _loadavg[], int nelem);
20 void update_loadavg ();
21 void calc_load (int index, int delta_time, int decay_time, double n);
24 #endif /* LOADAVG_H */