diff options
author | neal <neal> | 2008-02-05 10:00:21 +0000 |
---|---|---|
committer | neal <neal> | 2008-02-05 10:00:21 +0000 |
commit | b9df4d572b4914e544824c53aa51d98c870bfec2 (patch) | |
tree | e254388b5b90595c2fea0e35cf48cdf45d825c64 /viengoos/pager.c | |
parent | 9f18eab35e58ea74e7397d82bd6b95aabb407d72 (diff) |
hurd/
2008-02-05 Neal H. Walfield <neal@gnu.org>
* activity.h (struct activity_stats): New structure.
viengoos/
2008-02-05 Neal H. Walfield <neal@gnu.org>
* activity.h (struct activity): Add fields current_period and
stats.
(ACTIVITY_STATS): New macro.
(ACTIVITY_STAT_UPDATE): Likewise.
* ager.c (ager_loop): Gather statistics.
* pager.c (pager_collect): Likewise.
Diffstat (limited to 'viengoos/pager.c')
-rw-r--r-- | viengoos/pager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/viengoos/pager.c b/viengoos/pager.c index 730d49a..8bddc52 100644 --- a/viengoos/pager.c +++ b/viengoos/pager.c @@ -366,6 +366,8 @@ pager_collect (void) } } + ACTIVITY_STAT_UPDATE (victim, evicted, count); + debug (0, "Goal: %d, %d in laundry, %d made available", goal, laundry_count, count - laundry_count); |