overhead.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de>
3  * 2020 Freie Universität Berlin
4  * 2020 Inria
5  *
6  * This file is subject to the terms and conditions of the GNU Lesser General
7  * Public License v2.1. See the file LICENSE in the top level directory for more
8  * details.
9  */
10 
11 #pragma once
12 
26 #include "ztimer.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
43 int32_t ztimer_overhead_set(ztimer_clock_t *clock, uint32_t base);
44 
54 int32_t ztimer_overhead_sleep(ztimer_clock_t *clock, uint32_t base);
55 
int32_t ztimer_overhead_sleep(ztimer_clock_t *clock, uint32_t base)
Measure overhead for ztimer_sleep()
int32_t ztimer_overhead_set(ztimer_clock_t *clock, uint32_t base)
Measure overhead for ztimer_set()
ztimer device structure
Definition: ztimer.h:370
ztimer API