|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
how to caluculate ccpu_exp value for 1 second time value?
How to find the ccpu_exp value for 1 second? @ kern_synch.c
Decay 95% of proc:_pctcpu in 60 seconds, ccpu = exp(-1/20) */ const fixpt_t ccpu = 0.95122942450071400909 * FSCALE; 0.60653065971263342360 * FSCALE, /* exp(-1/2) : decay 95% in 5s */ 0.95122942450071400909 * FSCALE, /* exp(-1/20) : decay 95% in 60s */ 0.98347145382161748947 * FSCALE /* exp(-1/60) : decay 95% in 5m */ What will the value for 1 second, Is there any formula to calculate the value. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Following -current for the first time... | Daffy | OpenBSD Installation and Upgrading | 9 | 21st July 2011 06:38 PM |
Time for a New Laptop | harold | FreeBSD General | 4 | 5th October 2009 05:56 AM |
NFS time outs | trilog | General software and network | 1 | 5th May 2009 07:21 AM |
Real Time OS | corey_james | Off-Topic | 2 | 11th July 2008 02:56 PM |
Time drift | cajunman4life | FreeBSD General | 4 | 18th June 2008 07:21 AM |