Implement ticker.

Implement ticker, which provides a simple API for ticking off some
number of events before indicating that the ticker has hit its limit.
This commit is contained in:
Jason Evans
2016-02-02 20:27:54 -08:00
committed by Jason Evans
parent 94451d184b
commit 9998000b2b
6 changed files with 163 additions and 2 deletions

2
src/ticker.c Normal file
View File

@@ -0,0 +1,2 @@
#define JEMALLOC_TICKER_C_
#include "jemalloc/internal/jemalloc_internal.h"