1 /* SPDX-License-Identifier: LGPL-2.1+ */ 1 /* SPDX-License-Identifier: LGPL-2.1+ */ 2 /* Copyright (C) 2022, Linaro Ltd - Daniel Lez 2 /* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano <daniel.lezcano@linaro.org> */ 3 #ifndef __THERMAL_TOOLS_UPTIMEOFDAY_H 3 #ifndef __THERMAL_TOOLS_UPTIMEOFDAY_H 4 #define __THERMAL_TOOLS_UPTIMEOFDAY_H 4 #define __THERMAL_TOOLS_UPTIMEOFDAY_H 5 #include <sys/sysinfo.h> 5 #include <sys/sysinfo.h> 6 #include <sys/time.h> 6 #include <sys/time.h> 7 7 8 int uptimeofday_init(void); 8 int uptimeofday_init(void); 9 unsigned long getuptimeofday_ms(void); 9 unsigned long getuptimeofday_ms(void); 10 struct timespec msec_to_timespec(int msec); 10 struct timespec msec_to_timespec(int msec); 11 11 12 #endif 12 #endif 13 13
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.