Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
times.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Tenstorrent AI ULC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_POSIX_SYS_TIMES_H_
8#define ZEPHYR_INCLUDE_POSIX_SYS_TIMES_H_
9
10#include <time.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#if defined(_POSIX_MULTI_PROCESS) || defined(__DOXYGEN__)
17
18#if !defined(_TMS_DECLARED) && !defined(__tms_defined)
25#define _TMS_DECLARED
26#define __tms_defined
27#endif
28
29clock_t times(struct tms *buf);
30
31#endif /* _POSIX_MULTI_PROCESS */
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* ZEPHYR_INCLUDE_POSIX_SYS_TIMES_H_ */
unsigned long clock_t
Definition posix_types.h:15
Definition times.h:19
clock_t tms_utime
Definition times.h:20
clock_t tms_stime
Definition times.h:21
clock_t tms_cstime
Definition times.h:23
clock_t tms_cutime
Definition times.h:22
clock_t times(struct tms *buf)