Idris2/support/refc/clock.h

17 lines
319 B
C
Raw Normal View History

#pragma once
2021-05-17 16:06:12 +03:00
#include <time.h>
#include "cBackend.h"
Value *clockTimeMonotonic();
Value *clockTimeUtc();
Value *clockTimeProcess();
Value *clockTimeThread();
Value *clockTimeGcCpu();
Value *clockTimeGcReal();
int clockValid(Value *clock);
uint64_t clockSecond(Value *clock);
uint64_t clockNanosecond(Value *clock);