1 //===-- Definition of struct timeval -------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef __LLVM_LIBC_TYPES_TIMEVAL_H__
10 #define __LLVM_LIBC_TYPES_TIMEVAL_H__
12 #include <llvm-libc-types/suseconds_t.h>
13 #include <llvm-libc-types/time_t.h>
16 time_t tv_sec
; // Seconds
17 suseconds_t tv_usec
; // Micro seconds
20 #endif // __LLVM_LIBC_TYPES_TIMEVAL_H__