mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
23 lines
346 B
C++
23 lines
346 B
C++
/*
|
|
* Copyright (C) 2015-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <chrono>
|
|
|
|
namespace runtime {
|
|
|
|
void init_uptime();
|
|
|
|
std::chrono::steady_clock::time_point get_boot_time();
|
|
|
|
/// Returns the uptime of the system.
|
|
std::chrono::steady_clock::duration get_uptime();
|
|
|
|
}
|