Commits

c...@visotech.at  committed c920c6c

made timer() and timerUnit() visible in python

  • Participants
  • Parent commits 892eedd

Comments (0)

Files changed (1)

File _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()