mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
366 B
12 lines
366 B
/* SPDX-License-Identifier: LGPL-2.1+ */ |
|
/* Copyright (C) 2022, Linaro Ltd - Daniel Lezcano <[email protected]> */ |
|
#ifndef __THERMAL_TOOLS_UPTIMEOFDAY_H |
|
#define __THERMAL_TOOLS_UPTIMEOFDAY_H |
|
#include <sys/sysinfo.h> |
|
#include <sys/time.h> |
|
|
|
int uptimeofday_init(void); |
|
unsigned long getuptimeofday_ms(void); |
|
struct timespec msec_to_timespec(int msec); |
|
|
|
#endif
|
|
|