diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-14 01:46:14 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-14 01:46:14 +0800 |
commit | 0de660756306b48a3e61d2012dc04c1ec2b2fa5d (patch) | |
tree | 45219aa7af9080c3a63f1f5bec7f710cf1198669 /mbbsd/cal.c | |
parent | 7663047cdb35ddb7df1f0ca95aa56509fab94ca2 (diff) | |
download | pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.gz pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.bz2 pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.lz pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.xz pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.zst pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.zip |
* CPULIMIT macro is deprecated
* new CPULIMIT_PER_DAY macro: cpu limit control by day
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 932b385d..1abc5421 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -675,8 +675,8 @@ p_sysinfo(void) (long int)ru.ru_utime.tv_usec, (long int)ru.ru_stime.tv_sec, (long int)ru.ru_stime.tv_usec); -#ifdef CPULIMIT - prints(" (limit %d secs)", (int)(CPULIMIT * 60)); +#ifdef CPULIMIT_PER_DAY + prints(" (limit %d secs per day)", CPULIMIT_PER_DAY); #endif outs("\n¯S§O°Ñ¼Æ:" #ifdef CRITICAL_MEMORY |