Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
238f6333
Commit
238f6333
authored
20 years ago
by
Jong Hyuk Choi
Browse files
Options
Downloads
Patches
Plain Diff
ITS#3445
parent
3c0ee263
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/zn_malloc.c
+3
-2
3 additions, 2 deletions
servers/slapd/zn_malloc.c
with
3 additions
and
2 deletions
servers/slapd/zn_malloc.c
+
3
−
2
View file @
238f6333
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment