diff options
author | jhb <jhb@FreeBSD.org> | 2002-09-30 21:08:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-09-30 21:08:38 +0000 |
commit | f72526c16f332fb7d82318bc526cdafaa25f5b62 (patch) | |
tree | 4c05643cdb351e49234cd05bb95b1f90ff26fd8d /sys/sys/resourcevar.h | |
parent | 5d5060bddf1bf4c263e0d232b8a8c4f352c2f5f1 (diff) | |
download | FreeBSD-src-f72526c16f332fb7d82318bc526cdafaa25f5b62.zip FreeBSD-src-f72526c16f332fb7d82318bc526cdafaa25f5b62.tar.gz |
Change p_cpulimit to be in seconds instead of microseconds. Since
p_runtime now is a bintime, it is no longer an optimization to store
p_cpulimit as microseconds.
Suggested by: phk
Diffstat (limited to 'sys/sys/resourcevar.h')
-rw-r--r-- | sys/sys/resourcevar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h index e9dff02..8459246 100644 --- a/sys/sys/resourcevar.h +++ b/sys/sys/resourcevar.h @@ -82,7 +82,7 @@ struct plimit { #define PL_SHAREMOD 0x01 /* modifications are shared */ int p_lflags; int p_refcnt; /* number of references */ - rlim_t p_cpulimit; /* current cpu limit in usec */ + rlim_t p_cpulimit; /* current cpu limit in sec */ }; #ifdef _KERNEL |