Commits

Anonymous committed c920c6c

made timer() and timerUnit() visible in python

Comments (0)

Files changed (1)

_line_profiler.pyx

     PY_LONG_LONG hpTimer()
     double hpTimerUnit()
 
+cdef double timerUnit():
+    return hpTimerUnit()
+
+cdef PY_LONG_LONG timer():
+    return hpTimer()
+
 cdef extern from "unset_trace.h":
     void unset_trace()