2021-03-30 04:55:48 +00:00
|
|
|
#ifndef HEADER_gettime
|
|
|
|
#define HEADER_gettime
|
|
|
|
/*
|
|
|
|
htop - generic/gettime.h
|
|
|
|
(C) 2021 htop dev team
|
2021-09-22 09:33:00 +00:00
|
|
|
Released under the GNU GPLv2+, see the COPYING file
|
2021-03-30 04:55:48 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <sys/time.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
|