更新systime.h
This commit is contained in:
@@ -1,15 +1,12 @@
|
|||||||
//
|
//
|
||||||
// Created by xinyang on 19-7-31.
|
// Created by xinyang on 19-7-31.
|
||||||
//
|
//
|
||||||
|
// 提供一个多平台统一的精确到毫秒的系统时间接口
|
||||||
|
// 该时间仅用于表示相对时间
|
||||||
|
|
||||||
#ifndef _PLATFORM_H_
|
#ifndef _PLATFORM_H_
|
||||||
#define _PLATFORM_H_
|
#define _PLATFORM_H_
|
||||||
|
|
||||||
//typedef struct{
|
|
||||||
// float second;
|
|
||||||
// float millisecond;
|
|
||||||
//} systime;
|
|
||||||
|
|
||||||
typedef double systime;
|
typedef double systime;
|
||||||
|
|
||||||
void getsystime(systime &t);
|
void getsystime(systime &t);
|
||||||
|
|||||||
Reference in New Issue
Block a user