/*************************************************************************\ * Copyright (c) 2009-2010 Helmholtz-Zentrum Berlin * fuer Materialien und Energie GmbH. * Copyright (c) 2002 The University of Chicago, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE Versions 3.13.7 * and higher are distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. \*************************************************************************/ /* * Author: Eric Norum (LBNL) * * Modification History * 2010-07-09 Eric Norum (LBNL) * Minor modificaction to Ralph Lange's posix version * 2010-07-14 Ralph Lange (HZB/BESSY) * Added CPU Utilization (IOC load), number of CPUs * */ #include #include #include #ifdef SYSBOOTLINE_NEEDED static char *sysBootLine = ""; #endif #define FDTABLE_INUSE(i) (0) #define MAX_FILES 0 #define CLUSTSIZES 2 #define NO_OF_CPUS sysconf(_SC_NPROCESSORS_CONF) #define TICKS_PER_SEC sysconf(_SC_CLK_TCK) #include