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
13
extern
"C"
{
14
#endif
15
16
#if defined(_POSIX_MULTI_PROCESS) || defined(__DOXYGEN__)
17
18
#if !defined(_TMS_DECLARED) && !defined(__tms_defined)
19
struct
tms
{
20
clock_t
tms_utime
;
21
clock_t
tms_stime
;
22
clock_t
tms_cutime
;
23
clock_t
tms_cstime
;
24
};
25
#define _TMS_DECLARED
26
#define __tms_defined
27
#endif
28
29
clock_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_ */
time.h
clock_t
unsigned long clock_t
Definition
posix_types.h:15
tms
Definition
times.h:19
tms::tms_utime
clock_t tms_utime
Definition
times.h:20
tms::tms_stime
clock_t tms_stime
Definition
times.h:21
tms::tms_cstime
clock_t tms_cstime
Definition
times.h:23
tms::tms_cutime
clock_t tms_cutime
Definition
times.h:22
times
clock_t times(struct tms *buf)
zephyr
posix
sys
times.h
Generated on
for Zephyr API Documentation by
1.14.0