mirror of https://github.com/xzeldon/htop.git
19 lines
368 B
C
19 lines
368 B
C
#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>
|
|
|
|
|
|
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec);
|
|
|
|
void Generic_gettime_monotonic(uint64_t* msec);
|
|
|
|
#endif
|