Files
deighton-ar/mobile/ios/ViroKit.framework/Headers/VROTime.h
2018-03-27 17:46:15 -07:00

30 lines
499 B
C

//
// VROTime.h
// ViroRenderer
//
// Created by Raj Advani on 10/21/15.
// Copyright © 2015 Viro Media. All rights reserved.
//
#ifndef VROTIME_H_
#define VROTIME_H_
#include <time.h>
#include <stdlib.h>
#include <stdint.h>
/*
Get the current time in seconds or milliseconds.
*/
double VROTimeCurrentSeconds();
double VROTimeCurrentMillis();
/*
Get the current calendar time (seconds since 1970).
*/
uint64_t VROTimeGetCalendarTime();
uint64_t VRONanoTime();
#endif /* VROTIME_H_ */