1e6209940SPedro F. Giffuni /*- 2ddcf8022SAndrey A. Chernov * gloadavg.h - header for atrun(8) 3ddcf8022SAndrey A. Chernov * Copyright (C) 1993 Thomas Koenig 4ddcf8022SAndrey A. Chernov * 5*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 6e6209940SPedro F. Giffuni * 7ddcf8022SAndrey A. Chernov * Redistribution and use in source and binary forms, with or without 8ddcf8022SAndrey A. Chernov * modification, are permitted provided that the following conditions 9ddcf8022SAndrey A. Chernov * are met: 10ddcf8022SAndrey A. Chernov * 1. Redistributions of source code must retain the above copyright 11ddcf8022SAndrey A. Chernov * notice, this list of conditions and the following disclaimer. 12ddcf8022SAndrey A. Chernov * 2. The name of the author(s) may not be used to endorse or promote 13ddcf8022SAndrey A. Chernov * products derived from this software without specific prior written 14ddcf8022SAndrey A. Chernov * permission. 15ddcf8022SAndrey A. Chernov * 16ddcf8022SAndrey A. Chernov * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR 17ddcf8022SAndrey A. Chernov * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18ddcf8022SAndrey A. Chernov * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19ddcf8022SAndrey A. Chernov * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, 20ddcf8022SAndrey A. Chernov * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21ddcf8022SAndrey A. Chernov * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22ddcf8022SAndrey A. Chernov * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23ddcf8022SAndrey A. Chernov * THEORY OF LIABILITY, WETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24ddcf8022SAndrey A. Chernov * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25ddcf8022SAndrey A. Chernov * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26ddcf8022SAndrey A. Chernov */ 27ddcf8022SAndrey A. Chernov 28ddcf8022SAndrey A. Chernov double gloadavg(void); 29