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
11#pragma once
12
25
26#include "ztimer.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
43int32_t ztimer_overhead_set(ztimer_clock_t *clock, uint32_t base);
44
54int32_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()
struct ztimer_clock ztimer_clock_t
ztimer_clock_t forward declaration
Definition ztimer.h:290
ztimer API