Loading...
Searching...
No Matches
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
24#ifndef ZTIMER_OVERHEAD_H
25#define ZTIMER_OVERHEAD_H
26
27#include "ztimer.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
44int32_t ztimer_overhead_set(ztimer_clock_t *clock, uint32_t base);
45
55int32_t ztimer_overhead_sleep(ztimer_clock_t *clock, uint32_t base);
56
57#endif /* ZTIMER_OVERHEAD_H */
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:369
ztimer API