DescriptionAdd logging support for base::Time* types.
Define operator<<(ostream&,Time) to permit Time, TimeDelta and TimeTicks
types to be used in logging assertions such as DCHECK_EQ().
BUG=425941
TEST=base_unittests
Committed: https://crrev.com/fa874fd422dd79886729d6884b032b44572c43ee
Cr-Commit-Position: refs/heads/master@{#301815}
Patch Set 1 #Patch Set 2 : Add missing <string> include. #
Total comments: 6
Patch Set 3 : Format TimeTicks as relative seconds. #Patch Set 4 : Change output for TimeTicks to bogo-microseconds. #
Messages
Total messages: 16 (3 generated)
|