4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-25 08:37:33 +08:00
Corinna Vinschen 007e23d639 Cygwin: Reorganize cygwin source dir
Create subdirs and move files accordingly:

- DevDocs:  doc files
- fhandler: fhandler sources, split fhandler.cc into base.cc and null.cc
- local_includes: local include files
- scripts:  scripts called during build
- sec:      security sources

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2022-08-05 12:02:11 +02:00

25 lines
517 B
C++

/* loadavg.h: load average support.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef LOADAVG_H
#define LOADAVG_H
class loadavginfo
{
double loadavg[3];
time_t last_time;
public:
void initialize ();
int fetch (double _loadavg[], int nelem);
void update_loadavg ();
void calc_load (int index, int delta_time, int decay_time, double n);
};
#endif /* LOADAVG_H */