Home
last modified time | relevance | path

Searched refs:doubletime (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/
Dresource.c20 #define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001) macro
86 PyFloat_FromDouble(doubletime(ru.ru_utime))); in resource_getrusage()
88 PyFloat_FromDouble(doubletime(ru.ru_stime))); in resource_getrusage()
Dposixmodule.c6170 #ifndef doubletime in wait_helper()
6171 #define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001) in wait_helper() macro
6175 PyFloat_FromDouble(doubletime(ru->ru_utime))); in wait_helper()
6177 PyFloat_FromDouble(doubletime(ru->ru_stime))); in wait_helper()
/external/python/cpython3/Modules/
Dresource.c16 #define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001) macro
99 PyFloat_FromDouble(doubletime(ru.ru_utime))); in resource_getrusage_impl()
101 PyFloat_FromDouble(doubletime(ru.ru_stime))); in resource_getrusage_impl()
Dposixmodule.c8091 #ifndef doubletime in wait_helper()
8092 #define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001) in wait_helper() macro
8096 PyFloat_FromDouble(doubletime(ru->ru_utime))); in wait_helper()
8098 PyFloat_FromDouble(doubletime(ru->ru_stime))); in wait_helper()