extern "C" {
#endif
+struct ds;
struct pollfd;
struct timespec;
struct timeval;
*
* Also false on systems (e.g. ESX) that don't support setting up timers based
* on a monotonically increasing clock. */
+#ifndef CACHE_TIME
#if defined ESX || (defined __x86_64__ && defined LINUX_DATAPATH)
#define CACHE_TIME 0
#else
#define CACHE_TIME 1
#endif
+#endif /* ifndef CACHE_TIME */
void time_disable_restart(void);
void time_enable_restart(void);
void xgettimeofday(struct timeval *);
int get_cpu_usage(void);
+void format_backtraces(struct ds *, size_t min_count);
long long int time_boot_msec(void);