From 238f6333d26946ecbd93d285b75b94a92295e98a Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Thu, 16 Dec 2004 15:59:35 +0000 Subject: [PATCH] ITS#3445 --- servers/slapd/zn_malloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/slapd/zn_malloc.c b/servers/slapd/zn_malloc.c index 328616d19b..14d2113f9a 100644 --- a/servers/slapd/zn_malloc.c +++ b/servers/slapd/zn_malloc.c @@ -29,13 +29,14 @@ #include #include #include -#include #include #include "slap.h" #ifdef SLAP_ZONE_ALLOC +#include + static int slap_zone_cmp(const void *v1, const void *v2); void * slap_replenish_zopool(void *ctx); @@ -928,7 +929,7 @@ slap_measure_timing(struct timeval *tv_set, struct timeval *tv_measure) int slap_zn_latency_history(void* ctx, int ea_latency) { -/* TODO: monitor /proc/swap as well */ +/* TODO: monitor /proc/stat (swap) as well */ struct zone_heap* zh = ctx; double t_diff = 0.0; -- 2.39.5