RMVL  2.5.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到

计时器类 更多...

#include <rmvl/core/timer.hpp>

rm::Time 的协作图:

静态 Public 成员函数

static int64_t now_s ()
 返回 Epoch 时间(单位:秒)
static int64_t now ()
 返回 Epoch 时间(单位:毫秒)
static int64_t now_us ()
 返回 Epoch 时间(单位:微秒)

详细描述

计时器类

成员函数说明

◆ now()

int64_t rm::Time::now ( )
inlinestatic
Python:
rm.Time.now() -> <Current Time>

◆ now_s()

int64_t rm::Time::now_s ( )
inlinestatic

返回 Epoch 时间(单位:秒)

◆ now_us()

int64_t rm::Time::now_us ( )
inlinestatic

返回 Epoch 时间(单位:微秒)