more [[gnu::...]] attributes

This commit is contained in:
Max Kellermann
2021-10-13 11:28:04 +02:00
parent 1c4b484a56
commit f510564d9d
135 changed files with 361 additions and 514 deletions

View File

@@ -22,14 +22,12 @@
#ifdef _WIN32
#include "util/Compiler.h"
#include <chrono>
/**
* Returns the uptime of the current process in seconds.
*/
gcc_pure
[[gnu::pure]]
std::chrono::seconds
GetProcessUptimeS();