mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#3445
This commit is contained in:
parent
3c0ee263b5
commit
238f6333d2
@ -29,13 +29,14 @@
|
||||
#include <stdio.h>
|
||||
#include <ac/string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "slap.h"
|
||||
|
||||
#ifdef SLAP_ZONE_ALLOC
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user