![]() | |||||||||||||
Messages in this thread |
On Wed, Aug 27, 2003 at 05:39:27PM +1000, Peter Chubb wrote: > To calculate these you need a timestamp for last change, and a set of > counters. > Then code to update all the counters every time one of the sizes > change (otherwise you need a timestamp for each counter) by adding > current_size*(current_time - last_change_time) to each counter. Hmm. Building a tiny integrated counter ADT sounds useful; I can just park it on something easy like RSS and we can use it to crush the rest when there's enough machinery to keep the non-integrated counters. -- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:48 [from the cache] ©2003-2008 | |||||||||||||