Home
last modified time | relevance | path

Searched refs:US_TO_NS (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Python/
H A Dpytime.c24 #define US_TO_NS 1000 macro
25 #define MS_TO_NS (MS_TO_US * US_TO_NS)
499 _PyTime_t usec = (_PyTime_t)tv->tv_usec * US_TO_NS; in pytime_fromtimeval()
758 _PyTime_t us = pytime_divide(ns, US_TO_NS, round); in pytime_as_timeval()
/third_party/python/Lib/test/
H A Dtest_time.py26 US_TO_NS = 10 ** 3 variable
783 units = [1, US_TO_NS, MS_TO_NS, SEC_TO_NS]
961 us_converter = self.create_decimal_converter(US_TO_NS)
1011 us = self.decimal_round(decimal.Decimal(t) / US_TO_NS)
1048 self.create_decimal_converter(US_TO_NS),

Completed in 4 milliseconds