Skip to content

Conversation

@om26er
Copy link
Contributor

@om26er om26er commented Oct 18, 2019

Take 2 at #1193

# Win32 function QueryPerformanceCounter(). The resolution is typically
# better than one microsecond
_rtime = time.clock
if sys.version_info >= (3, 8):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perf_counter was added in Python 3.3. Why we can't use it for all Python 3.3+ line?
time.clock produces a warning on <Python 3.8

@oberstet oberstet merged commit 897c349 into crossbario:master Oct 18, 2019
@oberstet
Copy link
Contributor

perf_counter was added in Python 3.3. Why we can't use it for all Python 3.3+ line?

because we don't want to when on linux

@ivankravets
Copy link

@oberstet what do you mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants