time related functions - implementation cleanup#983
time related functions - implementation cleanup#983dwrobel wants to merge 1 commit intopxscene:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #983 +/- ##
==========================================
+ Coverage 62.5% 62.53% +0.03%
==========================================
Files 128 127 -1
Lines 17927 17920 -7
==========================================
+ Hits 11206 11207 +1
+ Misses 6721 6713 -8
Continue to review full report at Codecov.
|
ffa10a9 to
49e4db6
Compare
- introduces new common implementation of time related functions
for all platforms supporting c++11,
- try to synchronize legacy (non c++11) time implementations,
- fixes legacy (non c++11) implementation of pxSleepMS(),
- introduces new: void pxSleepUS(uint64_t usToSleep); function,
- fixes pxTimerNativeTest failure:
/Users/travis/build/pxscene/pxCore/tests/pxScene2d/test_pxTimerNative.cpp:37: Failure
Value of: (int)(endTime - startTime) == TEST_TIME
Actual: false
Expected: true
[ FAILED ] pxTimerNativeTest.pxTimerNativeTestS (2000 ms),
- start using pxSleep*() in wayland_egl/pxWindowNative.cpp backend.
49e4db6 to
d40fb09
Compare
|
Let's leave the original file unmodified, but we can have a cmake option to using the new C++11 syntax (chrono) if configured. Otherwise we use the current files (as is). We can discuss in our next meeting. |
mfiess
left a comment
There was a problem hiding this comment.
Let's leave the original file unmodified, but we can have a cmake option to using the new C++11 syntax (chrono) if configured. Otherwise we use the current files (as is). We can discuss in our next meeting.
time related functions - implementation cleanup