Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: add support for GetClock_RealTimeMS #17672

Merged
merged 2 commits into from
Apr 25, 2022

Conversation

bluebin14
Copy link
Contributor

Problem

Linux does not implement GetClock_RealTimeMS and GetClock_RealTime. This leads to various modules not functioning as they are meant to and the runtime warning "The device does not support GetClock_RealTimeMS() API. This will eventually result in CASE session setup failures."

Change overview

Add support for GetClock_RealTimeMS and the rest of unimplemented system time functions.
Fixes #17615

Testing

  • tested manually on Raspberry Pi using chip-tool pairing commands. Pairings are successful and the warnings are gone.
  • does not affect non-Linux platforms

@github-actions
Copy link

github-actions bot commented Apr 23, 2022

PR #17672: Size comparison from 0cbfaec to d4b1f59

Increases above 0.2%:

platform target config section 0cbfaec d4b1f59 change % change
linux all-clusters-app debug .got 4448 4464 16 0.4
bridge-app debug+rpc .got 3920 3936 16 0.4
chip-tool debug .got 4936 4952 16 0.3
lighting-app debug+rpc .got 4304 4320 16 0.4
lock-app debug .got 4264 4280 16 0.4
ota-provider-app debug .got 4464 4480 16 0.4
ota-requestor-app debug .got 4304 4320 16 0.4
shell debug .got 4168 4184 16 0.4
tv-app debug .got 4680 4696 16 0.3
Increases (11 builds for linux)
platform target config section 0cbfaec d4b1f59 change % change
linux all-clusters-app debug (read only) 2727929 2729001 1072 0.0
(read/write) 149600 149632 32 0.0
.got 4448 4464 16 0.4
.rodata 233221 233285 64 0.0
.text 2319986 2320802 816 0.0
bridge-app debug+rpc (read only) 1841757 1842821 1064 0.1
(read/write) 91984 92016 32 0.0
.got 3920 3936 16 0.4
.rodata 148961 149025 64 0.0
.text 1573797 1574613 816 0.1
chip-tool debug (read only) 10938197 10939245 1048 0.0
(read/write) 375728 375760 32 0.0
.got 4936 4952 16 0.3
.rodata 547189 547253 64 0.0
.text 9551285 9552085 800 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10549724 10550604 880 0.0
(read/write) 497633 497649 16 0.0
.rodata 521052 521116 64 0.0
.text 8911012 8911684 672 0.0
lighting-app debug+rpc (read only) 2319241 2320313 1072 0.0
.got 4304 4320 16 0.4
.rodata 183121 183185 64 0.0
.text 1969602 1970418 816 0.0
lock-app debug (read only) 2145769 2146825 1056 0.0
.got 4264 4280 16 0.4
.rodata 189441 189505 64 0.0
.text 1799330 1800130 800 0.0
ota-provider-app debug (read only) 2052345 2053401 1056 0.1
.got 4464 4480 16 0.4
.rodata 173595 173659 64 0.0
.text 1721506 1722306 800 0.0
ota-requestor-app debug (read only) 2083561 2084633 1072 0.1
.got 4304 4320 16 0.4
.rodata 169916 169980 64 0.0
.text 1754914 1755730 816 0.0
shell debug (read only) 2554425 2555497 1072 0.0
.got 4168 4184 16 0.4
.rodata 215410 215474 64 0.0
.text 2177202 2178018 816 0.0
thermostat-no-ble arm64 (read only) 2361276 2362172 896 0.0
(read/write) 151137 151153 16 0.0
.rodata 145164 145228 64 0.0
.text 1987072 1987744 672 0.0
tv-app debug (read only) 2837457 2838513 1056 0.0
.got 4680 4696 16 0.3
.rodata 215371 215435 64 0.0
.text 2439746 2440546 800 0.0
Full report (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0cbfaec d4b1f59 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 690967 690967 0 0.0
(read/write) 161960 161960 0 0.0
.bss 75912 75912 0 0.0
.data 3396 3396 0 0.0
.rodata 106015 106015 0 0.0
.text 584472 584472 0 0.0
lock-ftd LP_CC2652R7 (read only) 677331 677331 0 0.0
(read/write) 166564 166564 0 0.0
.bss 73936 73936 0 0.0
.data 3220 3220 0 0.0
.rodata 98787 98787 0 0.0
.text 578060 578060 0 0.0
lock-mtd LP_CC2652R7 (read only) 626083 626083 0 0.0
(read/write) 146732 146732 0 0.0
.bss 69656 69656 0 0.0
.data 3220 3220 0 0.0
.rodata 98667 98667 0 0.0
.text 526924 526924 0 0.0
pump-app LP_CC2652R7 (read only) 649847 649847 0 0.0
(read/write) 152532 152532 0 0.0
.bss 74400 74400 0 0.0
.data 3252 3252 0 0.0
.rodata 75631 75631 0 0.0
.text 573728 573728 0 0.0
pump-controller-app LP_CC2652R7 (read only) 642835 642835 0 0.0
(read/write) 151944 151944 0 0.0
.bss 74104 74104 0 0.0
.data 3216 3216 0 0.0
.rodata 78771 78771 0 0.0
.text 563576 563576 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 618118 618118 0 0.0
.app_xip_area 525124 525124 0 0.0
.bss 75652 75652 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 613066 613066 0 0.0
.app_xip_area 521552 521552 0 0.0
.bss 74204 74204 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 565710 565710 0 0.0
.app_xip_area 464608 464608 0 0.0
.bss 83496 83496 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 905848 905848 0 0.0
(read/write) 129392 129392 0 0.0
.bss 127344 127344 0 0.0
.data 2044 2044 0 0.0
.text 905840 905840 0 0.0
BRD4161A+rpc (read only) 940264 940264 0 0.0
(read/write) 146072 146072 0 0.0
.bss 143824 143824 0 0.0
.data 2248 2248 0 0.0
.text 940256 940256 0 0.0
window-app BRD4161A (read only) 843320 843320 0 0.0
(read/write) 127480 127480 0 0.0
.bss 125520 125520 0 0.0
.data 1956 1956 0 0.0
.text 843312 843312 0 0.0
esp32 all-clusters-app c3devkit (read only) 997972 997972 0 0.0
(read/write) 1468074 1468074 0 0.0
.dram0.bss 62640 62640 0 0.0
.dram0.data 14428 14428 0 0.0
.flash.rodata 206560 206560 0 0.0
.flash.text 997972 997972 0 0.0
.iram0.text 62020 62020 0 0.0
m5stack (read only) 1052155 1052155 0 0.0
(read/write) 470080 470080 0 0.0
.dram0.bss 68160 68160 0 0.0
.dram0.data 34168 34168 0 0.0
.flash.rodata 235916 235916 0 0.0
.flash.text 1046771 1046771 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 684112 684112 0 0.0
.bss 77656 77656 0 0.0
.data 2000 2000 0 0.0
.text 598656 598656 0 0.0
lock k32w061+release (read/write) 725204 725204 0 0.0
.bss 78288 78288 0 0.0
.data 1960 1960 0 0.0
.text 639156 639156 0 0.0
linux all-clusters-app debug (read only) 2727929 2729001 1072 0.0
(read/write) 149600 149632 32 0.0
.bss 59936 59936 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 81624 81624 0 0.0
.dynamic 608 608 0 0.0
.got 4448 4464 16 0.4
.init 27 27 0 0.0
.init_array 984 984 0 0.0
.rodata 233221 233285 64 0.0
.text 2319986 2320802 816 0.0
bridge-app debug+rpc (read only) 1841757 1842821 1064 0.1
(read/write) 91984 92016 32 0.0
.bss 44136 44136 0 0.0
.data 3072 3072 0 0.0
.data.rel.ro 39704 39704 0 0.0
.dynamic 592 592 0 0.0
.got 3920 3936 16 0.4
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 148961 149025 64 0.0
.text 1573797 1574613 816 0.1
chip-tool debug (read only) 10938197 10939245 1048 0.0
(read/write) 375728 375760 32 0.0
.bss 22592 22592 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 345768 345768 0 0.0
.dynamic 624 624 0 0.0
.got 4936 4952 16 0.3
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 547189 547253 64 0.0
.text 9551285 9552085 800 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10549724 10550604 880 0.0
(read/write) 497633 497649 16 0.0
.bss 40865 40865 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 393088 393088 0 0.0
.dynamic 560 560 0 0.0
.got 58680 58680 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 521052 521116 64 0.0
.text 8911012 8911684 672 0.0
lighting-app debug+rpc (read only) 2319241 2320313 1072 0.0
(read/write) 128080 128080 0 0.0
.bss 50048 50048 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 70328 70328 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4320 16 0.4
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 183121 183185 64 0.0
.text 1969602 1970418 816 0.0
lock-app debug (read only) 2145769 2146825 1056 0.0
(read/write) 120280 120280 0 0.0
.bss 47808 47808 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 65368 65368 0 0.0
.dynamic 592 592 0 0.0
.got 4264 4280 16 0.4
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 189441 189505 64 0.0
.text 1799330 1800130 800 0.0
ota-provider-app debug (read only) 2052345 2053401 1056 0.1
(read/write) 115648 115648 0 0.0
.bss 48000 48000 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 60216 60216 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4480 16 0.4
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 173595 173659 64 0.0
.text 1721506 1722306 800 0.0
ota-requestor-app debug (read only) 2083561 2084633 1072 0.1
(read/write) 118456 118456 0 0.0
.bss 48672 48672 0 0.0
.data 1928 1928 0 0.0
.data.rel.ro 62248 62248 0 0.0
.dynamic 592 592 0 0.0
.got 4304 4320 16 0.4
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 169916 169980 64 0.0
.text 1754914 1755730 816 0.0
shell debug (read only) 2554425 2555497 1072 0.0
(read/write) 150376 150376 0 0.0
.bss 67336 67336 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 75952 75952 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4184 16 0.4
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 215410 215474 64 0.0
.text 2177202 2178018 816 0.0
thermostat-no-ble arm64 (read only) 2361276 2362172 896 0.0
(read/write) 151137 151153 16 0.0
.bss 62897 62897 0 0.0
.data 1488 1488 0 0.0
.data.rel.ro 78992 78992 0 0.0
.dynamic 560 560 0 0.0
.got 4744 4744 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 145164 145228 64 0.0
.text 1987072 1987744 672 0.0
tv-app debug (read only) 2837457 2838513 1056 0.0
(read/write) 253360 253360 0 0.0
.bss 165944 165944 0 0.0
.data 4640 4640 0 0.0
.data.rel.ro 76560 76560 0 0.0
.dynamic 592 592 0 0.0
.got 4680 4696 16 0.3
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 215371 215435 64 0.0
.text 2439746 2440546 800 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2410108 2410108 0 0.0
.bss 184996 184996 0 0.0
.data 5848 5848 0 0.0
.text 1372708 1372708 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1170627 1170627 0 0.0
bss 136264 136264 0 0.0
rodata 150052 150052 0 0.0
text 805652 805652 0 0.0
p6 all-clusters-app default (read/write) 2525136 2525136 0 0.0
.bss 118376 118376 0 0.0
.data 2784 2784 0 0.0
.text 1483400 1483400 0 0.0
light-app default (read/write) 2416904 2416904 0 0.0
.bss 111856 111856 0 0.0
.data 2584 2584 0 0.0
.text 1375168 1375168 0 0.0
lock-app default (read/write) 2421080 2421080 0 0.0
.bss 111656 111656 0 0.0
.data 2544 2544 0 0.0
.text 1379344 1379344 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 801032 801032 0 0.0
bss 69696 69696 0 0.0
noinit 40416 40416 0 0.0
text 570376 570376 0 0.0

@github-actions
Copy link

github-actions bot commented Apr 25, 2022

PR #17672: Size comparison from 0cbfaec to 7cf228f

Increases above 0.2%:

platform target config section 0cbfaec 7cf228f change % change
cyw30739 light cyw930739m2evb_01 (read/write) 618118 623542 5424 0.9
.bss 75652 79844 4192 5.5
lock cyw930739m2evb_01 (read/write) 613066 618490 5424 0.9
.bss 74204 78396 4192 5.6
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 565710 571134 5424 1.0
.app_xip_area 464608 465840 1232 0.3
.bss 83496 87688 4192 5.0
efr32 lighting-app BRD4161A (read/write) 129392 134968 5576 4.3
.bss 127344 132920 5576 4.4
BRD4161A+rpc (read/write) 146072 151648 5576 3.8
.bss 143824 149400 5576 3.9
window-app BRD4161A (read/write) 127480 133056 5576 4.4
.bss 125520 131096 5576 4.4
esp32 all-clusters-app c3devkit (read/write) 1468074 1473730 5656 0.4
.dram0.bss 62640 68216 5576 8.9
m5stack (read/write) 470080 475720 5640 1.2
.dram0.bss 68160 73736 5576 8.2
k32w light k32w061+release (read/write) 684112 688808 4696 0.7
.bss 77656 81168 3512 4.5
lock k32w061+release (read/write) 725204 729676 4472 0.6
.bss 78288 81576 3288 4.2
linux all-clusters-app debug (read only) 2727929 2734137 6208 0.2
(read/write) 149600 172864 23264 15.6
.bss 59936 83168 23232 38.8
.got 4448 4464 16 0.4
.text 2319986 2325842 5856 0.3
bridge-app debug+rpc (read only) 1841757 1847909 6152 0.3
(read/write) 91984 115248 23264 25.3
.bss 44136 67368 23232 52.6
.got 3920 3936 16 0.4
.text 1573797 1579637 5840 0.4
chip-tool debug .got 4936 4952 16 0.3
lighting-app debug+rpc (read only) 2319241 2325433 6192 0.3
(read/write) 128080 151280 23200 18.1
.bss 50048 73248 23200 46.4
.got 4304 4320 16 0.4
.text 1969602 1975442 5840 0.3
lock-app debug (read only) 2145769 2151961 6192 0.3
(read/write) 120280 143512 23232 19.3
.bss 47808 71040 23232 48.6
.got 4264 4280 16 0.4
.text 1799330 1805170 5840 0.3
ota-provider-app debug (read only) 2052345 2058505 6160 0.3
(read/write) 115648 138880 23232 20.1
.bss 48000 71232 23232 48.4
.got 4464 4480 16 0.4
.text 1721506 1727346 5840 0.3
ota-requestor-app debug (read only) 2083561 2089753 6192 0.3
(read/write) 118456 141688 23232 19.6
.bss 48672 71904 23232 47.7
.got 4304 4320 16 0.4
.text 1754914 1760754 5840 0.3
shell debug (read only) 2554425 2560633 6208 0.2
(read/write) 150376 196840 46464 30.9
.bss 67336 113800 46464 69.0
.got 4168 4184 16 0.4
.text 2177202 2183058 5856 0.3
thermostat-no-ble arm64 (read only) 2361276 2367516 6240 0.3
(read/write) 151137 174401 23264 15.4
.bss 62897 86145 23248 37.0
.text 1987072 1993008 5936 0.3
tv-app debug (read only) 2837457 2843649 6192 0.2
(read/write) 253360 276592 23232 9.2
.bss 165944 189176 23232 14.0
.got 4680 4696 16 0.3
.text 2439746 2445586 5840 0.2
mbed lock-app CY8CPROTO_062_4343W+release .bss 184996 205716 20720 11.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1170627 1177515 6888 0.6
bss 136264 141840 5576 4.1
p6 all-clusters-app default .bss 118376 139096 20720 17.5
light-app default .bss 111856 132576 20720 18.5
lock-app default .bss 111656 132376 20720 18.6
telink lighting-app tlsr9518adk80d (read/write) 801032 807984 6952 0.9
bss 69696 75272 5576 8.0
Increases (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0cbfaec 7cf228f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 690967 692119 1152 0.2
.text 584472 585624 1152 0.2
lock-ftd LP_CC2652R7 (read only) 677331 678635 1304 0.2
.rodata 98787 98851 64 0.1
.text 578060 579300 1240 0.2
lock-mtd LP_CC2652R7 (read only) 626083 627379 1296 0.2
.rodata 98667 98731 64 0.1
.text 526924 528156 1232 0.2
pump-app LP_CC2652R7 (read only) 649847 651071 1224 0.2
.rodata 75631 75703 72 0.1
.text 573728 574880 1152 0.2
pump-controller-app LP_CC2652R7 (read only) 642835 644139 1304 0.2
.rodata 78771 78835 64 0.1
.text 563576 564816 1240 0.2
cyw30739 light cyw930739m2evb_01 (read/write) 618118 623542 5424 0.9
.app_xip_area 525124 526356 1232 0.2
.bss 75652 79844 4192 5.5
lock cyw930739m2evb_01 (read/write) 613066 618490 5424 0.9
.app_xip_area 521552 522784 1232 0.2
.bss 74204 78396 4192 5.6
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 565710 571134 5424 1.0
.app_xip_area 464608 465840 1232 0.3
.bss 83496 87688 4192 5.0
efr32 lighting-app BRD4161A (read only) 905848 907488 1640 0.2
(read/write) 129392 134968 5576 4.3
.bss 127344 132920 5576 4.4
.text 905840 907480 1640 0.2
BRD4161A+rpc (read only) 940264 941904 1640 0.2
(read/write) 146072 151648 5576 3.8
.bss 143824 149400 5576 3.9
.text 940256 941896 1640 0.2
window-app BRD4161A (read only) 843320 844976 1656 0.2
(read/write) 127480 133056 5576 4.4
.bss 125520 131096 5576 4.4
.text 843312 844968 1656 0.2
esp32 all-clusters-app c3devkit (read only) 997972 999218 1246 0.1
(read/write) 1468074 1473730 5656 0.4
.dram0.bss 62640 68216 5576 8.9
.flash.rodata 206560 206632 72 0.0
.flash.text 997972 999218 1246 0.1
m5stack (read only) 1052155 1053463 1308 0.1
(read/write) 470080 475720 5640 1.2
.dram0.bss 68160 73736 5576 8.2
.flash.rodata 235916 235980 64 0.0
.flash.text 1046771 1048079 1308 0.1
k32w light k32w061+release (read/write) 684112 688808 4696 0.7
.bss 77656 81168 3512 4.5
.text 598656 599840 1184 0.2
lock k32w061+release (read/write) 725204 729676 4472 0.6
.bss 78288 81576 3288 4.2
.text 639156 640340 1184 0.2
linux all-clusters-app debug (read only) 2727929 2734137 6208 0.2
(read/write) 149600 172864 23264 15.6
.bss 59936 83168 23232 38.8
.got 4448 4464 16 0.4
.rodata 233221 233381 160 0.1
.text 2319986 2325842 5856 0.3
bridge-app debug+rpc (read only) 1841757 1847909 6152 0.3
(read/write) 91984 115248 23264 25.3
.bss 44136 67368 23232 52.6
.got 3920 3936 16 0.4
.rodata 148961 149089 128 0.1
.text 1573797 1579637 5840 0.4
chip-tool debug (read only) 10938197 10944285 6088 0.1
(read/write) 375728 375760 32 0.0
.got 4936 4952 16 0.3
.rodata 547189 547349 160 0.0
.text 9551285 9557029 5744 0.1
chip-tool-no-interactive-ipv6only arm64 (read only) 10549724 10555676 5952 0.1
(read/write) 497633 497681 48 0.0
.bss 40865 40897 32 0.1
.rodata 521052 521212 160 0.0
.text 8911012 8916660 5648 0.1
lighting-app debug+rpc (read only) 2319241 2325433 6192 0.3
(read/write) 128080 151280 23200 18.1
.bss 50048 73248 23200 46.4
.got 4304 4320 16 0.4
.rodata 183121 183281 160 0.1
.text 1969602 1975442 5840 0.3
lock-app debug (read only) 2145769 2151961 6192 0.3
(read/write) 120280 143512 23232 19.3
.bss 47808 71040 23232 48.6
.got 4264 4280 16 0.4
.rodata 189441 189601 160 0.1
.text 1799330 1805170 5840 0.3
ota-provider-app debug (read only) 2052345 2058505 6160 0.3
(read/write) 115648 138880 23232 20.1
.bss 48000 71232 23232 48.4
.got 4464 4480 16 0.4
.rodata 173595 173723 128 0.1
.text 1721506 1727346 5840 0.3
ota-requestor-app debug (read only) 2083561 2089753 6192 0.3
(read/write) 118456 141688 23232 19.6
.bss 48672 71904 23232 47.7
.got 4304 4320 16 0.4
.rodata 169916 170076 160 0.1
.text 1754914 1760754 5840 0.3
shell debug (read only) 2554425 2560633 6208 0.2
(read/write) 150376 196840 46464 30.9
.bss 67336 113800 46464 69.0
.got 4168 4184 16 0.4
.rodata 215410 215570 160 0.1
.text 2177202 2183058 5856 0.3
thermostat-no-ble arm64 (read only) 2361276 2367516 6240 0.3
(read/write) 151137 174401 23264 15.4
.bss 62897 86145 23248 37.0
.rodata 145164 145308 144 0.1
.text 1987072 1993008 5936 0.3
tv-app debug (read only) 2837457 2843649 6192 0.2
(read/write) 253360 276592 23232 9.2
.bss 165944 189176 23232 14.0
.got 4680 4696 16 0.3
.rodata 215371 215531 160 0.1
.text 2439746 2445586 5840 0.2
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2410108 2411396 1288 0.1
.bss 184996 205716 20720 11.2
.text 1372708 1373996 1288 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1170627 1177515 6888 0.6
bss 136264 141840 5576 4.1
rodata 150052 150124 72 0.0
text 805652 806848 1196 0.1
p6 all-clusters-app default (read/write) 2525136 2526872 1736 0.1
.bss 118376 139096 20720 17.5
.text 1483400 1485136 1736 0.1
light-app default (read/write) 2416904 2418624 1720 0.1
.bss 111856 132576 20720 18.5
.text 1375168 1376888 1720 0.1
lock-app default (read/write) 2421080 2422816 1736 0.1
.bss 111656 132376 20720 18.6
.text 1379344 1381080 1736 0.1
telink lighting-app tlsr9518adk80d (read/write) 801032 807984 6952 0.9
bss 69696 75272 5576 8.0
text 570376 571684 1308 0.2
Decreases (5 builds for cc13x2_26x2)
platform target config section 0cbfaec 7cf228f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 161960 159968 -1992 -1.2
.bss 75912 75072 -840 -1.1
lock-ftd LP_CC2652R7 (read/write) 166564 164756 -1808 -1.1
.bss 73936 73432 -504 -0.7
lock-mtd LP_CC2652R7 (read/write) 146732 146228 -504 -0.3
.bss 69656 69152 -504 -0.7
pump-app LP_CC2652R7 (read/write) 152532 151692 -840 -0.6
.bss 74400 73560 -840 -1.1
pump-controller-app LP_CC2652R7 (read/write) 151944 151440 -504 -0.3
.bss 74104 73600 -504 -0.7
Full report (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0cbfaec 7cf228f change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 690967 692119 1152 0.2
(read/write) 161960 159968 -1992 -1.2
.bss 75912 75072 -840 -1.1
.data 3396 3396 0 0.0
.rodata 106015 106015 0 0.0
.text 584472 585624 1152 0.2
lock-ftd LP_CC2652R7 (read only) 677331 678635 1304 0.2
(read/write) 166564 164756 -1808 -1.1
.bss 73936 73432 -504 -0.7
.data 3220 3220 0 0.0
.rodata 98787 98851 64 0.1
.text 578060 579300 1240 0.2
lock-mtd LP_CC2652R7 (read only) 626083 627379 1296 0.2
(read/write) 146732 146228 -504 -0.3
.bss 69656 69152 -504 -0.7
.data 3220 3220 0 0.0
.rodata 98667 98731 64 0.1
.text 526924 528156 1232 0.2
pump-app LP_CC2652R7 (read only) 649847 651071 1224 0.2
(read/write) 152532 151692 -840 -0.6
.bss 74400 73560 -840 -1.1
.data 3252 3252 0 0.0
.rodata 75631 75703 72 0.1
.text 573728 574880 1152 0.2
pump-controller-app LP_CC2652R7 (read only) 642835 644139 1304 0.2
(read/write) 151944 151440 -504 -0.3
.bss 74104 73600 -504 -0.7
.data 3216 3216 0 0.0
.rodata 78771 78835 64 0.1
.text 563576 564816 1240 0.2
cyw30739 light cyw930739m2evb_01 (read/write) 618118 623542 5424 0.9
.app_xip_area 525124 526356 1232 0.2
.bss 75652 79844 4192 5.5
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 613066 618490 5424 0.9
.app_xip_area 521552 522784 1232 0.2
.bss 74204 78396 4192 5.6
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 565710 571134 5424 1.0
.app_xip_area 464608 465840 1232 0.3
.bss 83496 87688 4192 5.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 905848 907488 1640 0.2
(read/write) 129392 134968 5576 4.3
.bss 127344 132920 5576 4.4
.data 2044 2044 0 0.0
.text 905840 907480 1640 0.2
BRD4161A+rpc (read only) 940264 941904 1640 0.2
(read/write) 146072 151648 5576 3.8
.bss 143824 149400 5576 3.9
.data 2248 2248 0 0.0
.text 940256 941896 1640 0.2
window-app BRD4161A (read only) 843320 844976 1656 0.2
(read/write) 127480 133056 5576 4.4
.bss 125520 131096 5576 4.4
.data 1956 1956 0 0.0
.text 843312 844968 1656 0.2
esp32 all-clusters-app c3devkit (read only) 997972 999218 1246 0.1
(read/write) 1468074 1473730 5656 0.4
.dram0.bss 62640 68216 5576 8.9
.dram0.data 14428 14428 0 0.0
.flash.rodata 206560 206632 72 0.0
.flash.text 997972 999218 1246 0.1
.iram0.text 62020 62020 0 0.0
m5stack (read only) 1052155 1053463 1308 0.1
(read/write) 470080 475720 5640 1.2
.dram0.bss 68160 73736 5576 8.2
.dram0.data 34168 34168 0 0.0
.flash.rodata 235916 235980 64 0.0
.flash.text 1046771 1048079 1308 0.1
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 684112 688808 4696 0.7
.bss 77656 81168 3512 4.5
.data 2000 2000 0 0.0
.text 598656 599840 1184 0.2
lock k32w061+release (read/write) 725204 729676 4472 0.6
.bss 78288 81576 3288 4.2
.data 1960 1960 0 0.0
.text 639156 640340 1184 0.2
linux all-clusters-app debug (read only) 2727929 2734137 6208 0.2
(read/write) 149600 172864 23264 15.6
.bss 59936 83168 23232 38.8
.data 1984 1984 0 0.0
.data.rel.ro 81624 81624 0 0.0
.dynamic 608 608 0 0.0
.got 4448 4464 16 0.4
.init 27 27 0 0.0
.init_array 984 984 0 0.0
.rodata 233221 233381 160 0.1
.text 2319986 2325842 5856 0.3
bridge-app debug+rpc (read only) 1841757 1847909 6152 0.3
(read/write) 91984 115248 23264 25.3
.bss 44136 67368 23232 52.6
.data 3072 3072 0 0.0
.data.rel.ro 39704 39704 0 0.0
.dynamic 592 592 0 0.0
.got 3920 3936 16 0.4
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 148961 149089 128 0.1
.text 1573797 1579637 5840 0.4
chip-tool debug (read only) 10938197 10944285 6088 0.1
(read/write) 375728 375760 32 0.0
.bss 22592 22592 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 345768 345768 0 0.0
.dynamic 624 624 0 0.0
.got 4936 4952 16 0.3
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 547189 547349 160 0.0
.text 9551285 9557029 5744 0.1
chip-tool-no-interactive-ipv6only arm64 (read only) 10549724 10555676 5952 0.1
(read/write) 497633 497681 48 0.0
.bss 40865 40897 32 0.1
.data 1192 1192 0 0.0
.data.rel.ro 393088 393088 0 0.0
.dynamic 560 560 0 0.0
.got 58680 58680 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 521052 521212 160 0.0
.text 8911012 8916660 5648 0.1
lighting-app debug+rpc (read only) 2319241 2325433 6192 0.3
(read/write) 128080 151280 23200 18.1
.bss 50048 73248 23200 46.4
.data 1984 1984 0 0.0
.data.rel.ro 70328 70328 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4320 16 0.4
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 183121 183281 160 0.1
.text 1969602 1975442 5840 0.3
lock-app debug (read only) 2145769 2151961 6192 0.3
(read/write) 120280 143512 23232 19.3
.bss 47808 71040 23232 48.6
.data 1504 1504 0 0.0
.data.rel.ro 65368 65368 0 0.0
.dynamic 592 592 0 0.0
.got 4264 4280 16 0.4
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 189441 189601 160 0.1
.text 1799330 1805170 5840 0.3
ota-provider-app debug (read only) 2052345 2058505 6160 0.3
(read/write) 115648 138880 23232 20.1
.bss 48000 71232 23232 48.4
.data 1672 1672 0 0.0
.data.rel.ro 60216 60216 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4480 16 0.4
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 173595 173723 128 0.1
.text 1721506 1727346 5840 0.3
ota-requestor-app debug (read only) 2083561 2089753 6192 0.3
(read/write) 118456 141688 23232 19.6
.bss 48672 71904 23232 47.7
.data 1928 1928 0 0.0
.data.rel.ro 62248 62248 0 0.0
.dynamic 592 592 0 0.0
.got 4304 4320 16 0.4
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 169916 170076 160 0.1
.text 1754914 1760754 5840 0.3
shell debug (read only) 2554425 2560633 6208 0.2
(read/write) 150376 196840 46464 30.9
.bss 67336 113800 46464 69.0
.data 1360 1360 0 0.0
.data.rel.ro 75952 75952 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4184 16 0.4
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 215410 215570 160 0.1
.text 2177202 2183058 5856 0.3
thermostat-no-ble arm64 (read only) 2361276 2367516 6240 0.3
(read/write) 151137 174401 23264 15.4
.bss 62897 86145 23248 37.0
.data 1488 1488 0 0.0
.data.rel.ro 78992 78992 0 0.0
.dynamic 560 560 0 0.0
.got 4744 4744 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 145164 145308 144 0.1
.text 1987072 1993008 5936 0.3
tv-app debug (read only) 2837457 2843649 6192 0.2
(read/write) 253360 276592 23232 9.2
.bss 165944 189176 23232 14.0
.data 4640 4640 0 0.0
.data.rel.ro 76560 76560 0 0.0
.dynamic 592 592 0 0.0
.got 4680 4696 16 0.3
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 215371 215531 160 0.1
.text 2439746 2445586 5840 0.2
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2410108 2411396 1288 0.1
.bss 184996 205716 20720 11.2
.data 5848 5848 0 0.0
.text 1372708 1373996 1288 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1170627 1177515 6888 0.6
bss 136264 141840 5576 4.1
rodata 150052 150124 72 0.0
text 805652 806848 1196 0.1
p6 all-clusters-app default (read/write) 2525136 2526872 1736 0.1
.bss 118376 139096 20720 17.5
.data 2784 2784 0 0.0
.text 1483400 1485136 1736 0.1
light-app default (read/write) 2416904 2418624 1720 0.1
.bss 111856 132576 20720 18.5
.data 2584 2584 0 0.0
.text 1375168 1376888 1720 0.1
lock-app default (read/write) 2421080 2422816 1736 0.1
.bss 111656 132376 20720 18.6
.data 2544 2544 0 0.0
.text 1379344 1381080 1736 0.1
telink lighting-app tlsr9518adk80d (read/write) 801032 807984 6952 0.9
bss 69696 75272 5576 8.0
noinit 40416 40416 0 0.0
text 570376 571684 1308 0.2

@andy31415 andy31415 merged commit e4df559 into project-chip:master Apr 25, 2022
@bluebin14 bluebin14 deleted the fix-linux-time branch April 25, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux does not implement GetClock_RealTimeMS and GetClock_RealTime
3 participants