mpd/src/system/Clock.hxx

21 lines
303 B
C++
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
#ifndef MPD_CLOCK_H
#define MPD_CLOCK_H
2019-07-05 09:59:00 +02:00
#ifdef _WIN32
#include <chrono>
/**
* Returns the uptime of the current process in seconds.
*/
2021-10-13 11:28:04 +02:00
[[gnu::pure]]
std::chrono::seconds
GetProcessUptimeS();
#endif
#endif