pull/1898/head
Nate Bargmann 2025-09-07 18:10:15 -05:00
commit 8f33228a1a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: FB2C5130D55A8819
1 zmienionych plików z 0 dodań i 12 usunięć

Wyświetl plik

@ -53,15 +53,8 @@ double monotonic_seconds()
#include <time.h>
static int showme = 0;
double monotonic_seconds()
{
if (showme)
{
showme = 0;
}
struct timespec time;
// Note: Make sure to link with -lrt to define clock_gettime.
@ -170,11 +163,6 @@ static void __attribute__((constructor)) init_rdtsc_per_sec()
double monotonic_seconds()
{
if (showme)
{
showme = false;
}
return (double) rdtsc() / (double) rdtsc_per_sec;
}