Shorten wait time for peak events
This commit is contained in:
parent
6107857b7b
commit
e6cb7a1c9b
@ -5,12 +5,12 @@
|
|||||||
#include "jemalloc/internal/peak_event.h"
|
#include "jemalloc/internal/peak_event.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Update every 100k by default. We're not exposing this as a configuration
|
* Update every 64K by default. We're not exposing this as a configuration
|
||||||
* option for now; we don't want to bind ourselves too tightly to any particular
|
* option for now; we don't want to bind ourselves too tightly to any particular
|
||||||
* performance requirements for small values, or guarantee that we'll even be
|
* performance requirements for small values, or guarantee that we'll even be
|
||||||
* able to provide fine-grained accuracy.
|
* able to provide fine-grained accuracy.
|
||||||
*/
|
*/
|
||||||
#define PEAK_EVENT_WAIT (100 * 1024)
|
#define PEAK_EVENT_WAIT (64 * 1024)
|
||||||
|
|
||||||
/* Update the peak with current tsd state. */
|
/* Update the peak with current tsd state. */
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user