diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-24 20:41:24 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-24 20:41:24 +0300 |
| commit | fd0fe0bb6adf2370256025b17a75c0061c1a977b (patch) | |
| tree | 0da31732ec04700a273efb7ea1201cc75fa21bdb /lib/event.c | |
| parent | 9d9c6dc01e0d1b97303796e1c167a060102eba10 (diff) | |
lib: Drop deprecated enable-time-check, enable-cpu-time compile options
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/event.c')
| -rw-r--r-- | lib/event.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/event.c b/lib/event.c index 458e29f248..122d3cd9a1 100644 --- a/lib/event.c +++ b/lib/event.c @@ -75,14 +75,7 @@ static struct list *masters; static void thread_free(struct event_loop *master, struct event *thread); -#ifndef EXCLUDE_CPU_TIME -#define EXCLUDE_CPU_TIME 0 -#endif -#ifndef CONSUMED_TIME_CHECK -#define CONSUMED_TIME_CHECK 0 -#endif - -bool cputime_enabled = !EXCLUDE_CPU_TIME; +bool cputime_enabled = true; unsigned long cputime_threshold = CONSUMED_TIME_CHECK; unsigned long walltime_threshold = CONSUMED_TIME_CHECK; |
