From: Jong Hyuk Choi Date: Thu, 16 Dec 2004 15:59:35 +0000 (+0000) Subject: ITS#3445 X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=238f6333d26946ecbd93d285b75b94a92295e98a;p=openldap ITS#3445 --- 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;