summaryrefslogtreecommitdiffstats
path: root/generic/gettime.h
blob: fab33da154834deadc9b667860684251e0f01bf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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>


void Generic_gettime_realtime(struct timeval* ts, uint64_t* msec);

void Generic_gettime_monotonic(uint64_t* msec);

#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy