Files
scylladb/utils/runtime.hh
Pekka Enberg e361f2a436 utils/runtime: Add uptime helpers
The functionality is similar to RuntimeMBean.getUptime() that's needed
in schema pulling logic.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
2015-07-22 13:02:43 +03:00

17 lines
208 B
C++

/*
* Copyright (C) 2015 Cloudius Systems, Ltd.
*/
#pragma once
#include <chrono>
namespace runtime {
void init_uptime();
/// Returns the uptime of the system in milliseconds.
uint64_t get_uptime();
}