1#include "libxr_system.hpp"
4extern struct timeval libxr_Webots_start_time;
表示微秒级时间戳的类。Class representing a timestamp in microseconds.
表示毫秒级时间戳的类。Class representing a timestamp in milliseconds.
时间基类,用于提供高精度时间戳。 Timebase class for providing high-precision timestamps.
WebotsTimebase 类,用于获取 Webots 的时间基准。Provides a timebase for Webots.
MillisecondTimestamp _get_milliseconds()
获取当前时间戳(毫秒级)
MicrosecondTimestamp _get_microseconds()
获取当前时间戳(微秒级)。Returns the current timestamp in microseconds.