Main Page | File List

src/config.h

00001 /* 00002 * The Vilsack Governor 00003 * 00004 00005 Copyright (C) 2004 Joseph Pingenot 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Lesser General Public 00009 License as published by the Free Software Foundation; either 00010 version 2.1 of the License, or (at your option) any later 00011 version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public 00019 License along with this library; if not, write to the Free Software 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 00022 */ 00023 00024 /*The step sizes to try.*/ 00025 #define FREQSTEP 100000 00026 /*Files we need to talk to, and the pieces to make the full path*/ 00027 #define FREQFILEBASE "/sys/devices/system/cpu" 00028 #define DEFAULTCPU "cpu0" 00029 #define FREQSUBDIR "cpufreq" 00030 #define MAXFREQFILE "scaling_max_freq" 00031 #define MINFREQFILE "scaling_min_freq" 00032 #define SETSPEEDFILE "scaling_setspeed" 00033 #define CPUMAXFREQFILE "cpuinfo_max_freq" 00034 #define CPUMINFREQFILE "cpuinfo_min_freq" 00035 #define CPUGOVERNORFILE "scaling_governor" 00036 00037 /*Default pid file*/ 00038 #define DEFPIDFILE "/var/run/vsgovernor.pid" 00039 00040 /*Default sleep time*/ 00041 #define DEFSLEEPTIME 5000 00042 00043 /*Identifier for the syslog*/ 00044 #define SYSLOGIDENT "vsgovernor" 00045 #define SYSLOGOPTS LOG_PID 00046 #define SYSLOGFAC LOG_DAEMON 00047 00048 /*Path to the socket we'll be listening in to*/ 00049 #define SOCKPATH "/var/run/vsgovernor.socket"

Generated on Thu Dec 30 21:48:53 2004 for The Versatile Governor by doxygen 1.3.8