File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616### Added
1717
18+ - ** openkal-macos 0.21.2。** 单调时钟的粒度取内核的计时单位(` mach_timebase_info ` ,向上取整:arm64 为 42 ns,x86_64 为 1 ns),
19+ 每次启动相同;此前以读数变化的差值测得,各次启动不同,openkal-image 的运行器在使用初始化快照前比较实现的事实,曾因此拒绝快照。
20+ 测试成员 ` openkal ` 随之移动。GLOBAL 为 GitHub 标签归档,CN 为 GitCode ` mcpp-res ` 镜像,sha256 两处一致。
1821- ** openkal-macos 0.21.1。** 睡眠不再占用处理器时间:内核读取 ` ulock_wait ` 所等待的字时不处理缺页,对尚未驻留的页返回
1922 ` EFAULT ` ;` kal_time_sleep ` 等待的是一个从未写过的零字,每次等待立即失败,睡眠成了整段时长的自旋(在 arm64 与 x86_64 运行机上
2023 睡 200 ms 耗费 127 至 200 ms 处理器时间)。等待现在在 ` EFAULT ` 时读取该字后重试,睡眠所用的字位于当前上下文的栈上。测试成员
Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ package = {
1919
2020 xpm = {
2121 linux = {
22+ [" 0.21.2" ] = {
23+ url = {
24+ GLOBAL = " https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.21.2.tar.gz" ,
25+ CN = " https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.21.2/openkal-macos-0.21.2.tar.gz" ,
26+ },
27+ sha256 = " 393ec7e317e6260ed81aa2f5e14514538297a0a5787377ab0f4eb6c1d6ce7020" ,
28+ },
2229 [" 0.21.1" ] = {
2330 url = {
2431 GLOBAL = " https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.21.1.tar.gz" ,
@@ -231,6 +238,13 @@ package = {
231238 },
232239 },
233240 macosx = {
241+ [" 0.21.2" ] = {
242+ url = {
243+ GLOBAL = " https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.21.2.tar.gz" ,
244+ CN = " https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.21.2/openkal-macos-0.21.2.tar.gz" ,
245+ },
246+ sha256 = " 393ec7e317e6260ed81aa2f5e14514538297a0a5787377ab0f4eb6c1d6ce7020" ,
247+ },
234248 [" 0.21.1" ] = {
235249 url = {
236250 GLOBAL = " https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.21.1.tar.gz" ,
@@ -443,6 +457,13 @@ package = {
443457 },
444458 },
445459 windows = {
460+ [" 0.21.2" ] = {
461+ url = {
462+ GLOBAL = " https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.21.2.tar.gz" ,
463+ CN = " https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.21.2/openkal-macos-0.21.2.tar.gz" ,
464+ },
465+ sha256 = " 393ec7e317e6260ed81aa2f5e14514538297a0a5787377ab0f4eb6c1d6ce7020" ,
466+ },
446467 [" 0.21.1" ] = {
447468 url = {
448469 GLOBAL = " https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.21.1.tar.gz" ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ openkal = "0.23.0"
2424openkal-linux = " 0.24.0"
2525
2626[target .'cfg(os = "macos")' .dependencies .mcpplibs ]
27- openkal-macos = " 0.21.1 "
27+ openkal-macos = " 0.21.2 "
2828
2929[target .'cfg(windows)' .dependencies .mcpplibs ]
3030openkal-windows = " 0.19.0"
You can’t perform that action at this time.
0 commit comments