Files
rk35xx-android14/external/cronet/base/time
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00
..

//base: Time-Related Functionality

This directory contains the portions of //base that deal with time-related concepts. Most critical are the classes in time.h. Time and TimeTicks both encode absolute times, but TimeTicks is monotonic and should be used for most internal purposes, while Time can move backwards and is primarily for human-readable times. TimeDelta is a duration computed from either of the above concepts.

There are also various files dealing with clocks, which are primarily useful when tests need to modify how the program tracks the passage of time. See /base/test/task_environment.h's MOCK_TIME ability for testing components which post tasks.