1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

HighResolutionTimer: Complete rewrite

- added unit tests
- best performance timers used for each platform
- fixed an issue in which timer callbacks could drift
This commit is contained in:
Anthony Nicholls 2023-06-05 16:32:25 +01:00
parent d361eaa9b3
commit 587e07007d
50 changed files with 1679 additions and 75 deletions

View file

@ -1182,6 +1182,9 @@
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_CommonFile_linux.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_FileDescriptor_linux.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_Files_android.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
@ -1212,6 +1215,15 @@
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_Network_windows.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_linux.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_wasm.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_windows.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_Registry_windows.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
@ -2959,9 +2971,11 @@
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_BasicNativeHeaders.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_CFHelpers_mac.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_ComSmartPtr_windows.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_HighResolutionTimerThread.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_IPAddress_posix.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_JNIHelpers_android.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_ObjCHelpers_mac.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimerListener.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_SharedCode_intel.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_SharedCode_posix.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_ThreadPriorities_native.h"/>

View file

@ -1693,6 +1693,9 @@
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_CommonFile_linux.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_FileDescriptor_linux.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_Files_android.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
@ -1729,6 +1732,18 @@
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_Network_windows.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_linux.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_mac.mm">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_wasm.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimer_windows.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_core\native\juce_Registry_windows.cpp">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClCompile>
@ -4647,6 +4662,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_ComSmartPtr_windows.h">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_HighResolutionTimerThread.h">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_IPAddress_posix.h">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClInclude>
@ -4656,6 +4674,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_ObjCHelpers_mac.h">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_PlatformTimerListener.h">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\native\juce_SharedCode_intel.h">
<Filter>JUCE Modules\juce_core\native</Filter>
</ClInclude>