1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# (C) Copyright 2015-18 Enthought, Inc., Austin, TX
# All right reserved.
#
# This file is open source software distributed according to the terms in
# LICENSE.txt
#
from __future__ import absolute_import
 
from ._util import ffi, dlls
 
ffi.cdef("""
 
DWORD WINAPI GetTickCount(void);
 
""")
 
 
def _GetTickCount():
    return dlls.kernel32.GetTickCount()