gettime.h 368 B

123456789101112131415161718
  1. #ifndef HEADER_gettime
  2. #define HEADER_gettime
  3. /*
  4. htop - generic/gettime.h
  5. (C) 2021 htop dev team
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include <stdint.h>
  10. #include <sys/time.h>
  11. void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec);
  12. void Generic_gettime_monotonic(uint64_t* msec);
  13. #endif