Home | History | Annotate | Download | only in pybench

Lines Matching refs:ctypes

11     package installed. Alternatively, the Thomas Heller ctypes
41 # * Add ctypes wrapper for new clock_gettime() real-time POSIX APIs;
51 USE_CTYPES_GETPROCESSTIMES = 'ctypes GetProcessTimes() wrapper'
64 import ctypes
131 creationtime = ctypes.c_ulonglong()
132 exittime = ctypes.c_ulonglong()
133 kerneltime = ctypes.c_ulonglong()
134 usertime = ctypes.c_ulonglong()
135 rc = ctypes.windll.kernel32.GetProcessTimes(
136 ctypes.windll.kernel32.GetCurrentProcess(),
137 ctypes.byref(creationtime),
138 ctypes.byref(exittime),
139 ctypes.byref(kerneltime),
140 ctypes.byref(usertime))