/*************************************************************************\ * 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. \*************************************************************************/ /* osdCpuUtilization.c - CPU Utilization: RTEMS implementation = use values from CPU Usage */ /* * Author: Ralph Lange (HZB/BESSY) * * Modification History * */ #include int devIocStatsInitCpuUtilization (loadInfo *pval) { pval->noOfCpus = 1; return 0; } /* FIXME: This relies on the device support calling it after CpuUsage */ int devIocStatsGetCpuUtilization (loadInfo *pval) { pval->iocLoad = pval->cpuLoad; return 0; }