Did I find the right examples for you? yes no

All Samples(16)  |  Call(14)  |  Derive(0)  |  Import(2)

src/i/n/IncPy-HEAD/Tools/pybench/systimes.py   IncPy(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/s/l/SlopPy-HEAD/Tools/pybench/systimes.py   SlopPy(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/i/t/itools-0.75.1/core/_win.py   itools(Download)
    from win32api import OpenProcess
    from win32con import PROCESS_QUERY_INFORMATION, PROCESS_VM_READ
    from win32process import GetProcessTimes, GetProcessMemoryInfo
except ImportError:
    print 'Warning: win32 is not installed'
    """
    handle = get_win32_handle(getpid())
    data = GetProcessTimes(handle)
    if mode == 'system':
        return data['KernelTime'] / 10000000.0 - since

src/i/t/itools-HEAD/core/_win.py   itools(Download)
    from win32api import OpenProcess
    from win32con import PROCESS_QUERY_INFORMATION, PROCESS_VM_READ
    from win32process import GetProcessTimes, GetProcessMemoryInfo
except ImportError:
    print 'Warning: win32 is not installed'
    """
    handle = get_win32_handle(getpid())
    data = GetProcessTimes(handle)
    if mode == 'system':
        return data['KernelTime'] / 10000000.0 - since

src/e/m/empythoned-HEAD/cpython/Tools/pybench/systimes.py   empythoned(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Tools/pybench/systimes.py   pytaint(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/p/y/Py2crazy-HEAD/Python-2.7.5/Tools/pybench/systimes.py   Py2crazy(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/p/y/PyCPython-HEAD/Python-2.7.1/Tools/pybench/systimes.py   PyCPython(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/c/p/cpython-HEAD/Tools/pybench/systimes.py   cpython(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

src/p/y/python-with-braces-HEAD/Tools/pybench/systimes.py   python-with-braces(Download)
def win32process_getprocesstimes_systimes():
    d = win32process.GetProcessTimes(win32process.GetCurrentProcess())
    return (d['UserTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND,
            d['KernelTime'] / WIN32_PROCESS_TIMES_TICKS_PER_SECOND)
 

  1 | 2  Next