OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timertype
(Results
1 - 3
of
3
) sorted by null
/external/python/cpython3/Tools/pybench/
pybench.py
98
def get_timer(
timertype
):
100
if
timertype
== TIMER_TIME_TIME:
102
elif
timertype
== TIMER_TIME_PROCESS_TIME:
104
elif
timertype
== TIMER_TIME_PERF_COUNTER:
106
elif
timertype
== TIMER_TIME_CLOCK:
108
elif
timertype
== TIMER_SYSTIMES_PROCESSTIME:
112
raise TypeError('unknown timer type: %s' %
timertype
)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
pybench.py
91
def get_timer(
timertype
):
93
if
timertype
== TIMER_TIME_TIME:
95
elif
timertype
== TIMER_TIME_CLOCK:
97
elif
timertype
== TIMER_SYSTIMES_PROCESSTIME:
101
raise TypeError('unknown timer type: %s' %
timertype
)
[
all
...]
/external/python/cpython2/Tools/pybench/
pybench.py
91
def get_timer(
timertype
):
93
if
timertype
== TIMER_TIME_TIME:
95
elif
timertype
== TIMER_TIME_CLOCK:
97
elif
timertype
== TIMER_SYSTIMES_PROCESSTIME:
101
raise TypeError('unknown timer type: %s' %
timertype
)
Completed in 918 milliseconds