diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:00:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:00:29 +0000 |
commit | 52e25213825024b8bb446eb26b03bedc9d5c2103 (patch) | |
tree | da70bf44b2423f6f8e9a070c063fed79d190b489 /generic/gettime.h | |
parent | Initial commit. (diff) | |
download | htop-upstream.tar.xz htop-upstream.zip |
Adding upstream version 3.2.2.upstream/3.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'generic/gettime.h')
-rw-r--r-- | generic/gettime.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/generic/gettime.h b/generic/gettime.h new file mode 100644 index 0000000..91fe43d --- /dev/null +++ b/generic/gettime.h @@ -0,0 +1,18 @@ +#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 |