2021-03-30 04:55:48 +00:00
|
|
|
#ifndef HEADER_gettime
|
|
|
|
#define HEADER_gettime
|
|
|
|
/*
|
|
|
|
htop - generic/gettime.h
|
|
|
|
(C) 2021 htop dev team
|
|
|
|
Released under the GNU GPLv2, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
|
2021-05-10 15:30:04 +00:00
|
|
|
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec);
|
2021-03-30 04:55:48 +00:00
|
|
|
|
|
|
|
void Generic_gettime_monotonic(uint64_t* msec);
|
|
|
|
|
|
|
|
#endif
|