Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtiming.h44 static struct timeval aftertp, beforetp; variable
46 #define BEGINTIMING gettimeofday(&beforetp, NULL)
49 if(beforetp.tv_usec > aftertp.tv_usec) \
55 #define TIMINGUS (((aftertp.tv_sec - beforetp.tv_sec) * 1000000) + \
56 (aftertp.tv_usec - beforetp.tv_usec))
58 #define TIMINGMS (((aftertp.tv_sec - beforetp.tv_sec) * 1000) + \
59 ((aftertp.tv_usec - beforetp.tv_usec) / 1000))
61 #define TIMINGS ((aftertp.tv_sec - beforetp.tv_sec) + \
62 (aftertp.tv_usec - beforetp.tv_usec) / 1000000)