overhead.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>
3  * SPDX-FileCopyrightText: 2020 Freie Universität Berlin
4  * SPDX-FileCopyrightText: 2020 Inria
5  * SPDX-License-Identifier: LGPL-2.1-only
6  */
7 
8 #pragma once
9 
23 #include "ztimer.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
40 int32_t ztimer_overhead_set(ztimer_clock_t *clock, uint32_t base);
41 
51 int32_t ztimer_overhead_sleep(ztimer_clock_t *clock, uint32_t base);
52 
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:367
ztimer API