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

Implement the client side of timed write. #12567

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

bzbarsky-apple
Copy link
Contributor

Fixes that had to be made alongside the main change:

  1. Fix chip-tool to use the templated WriteAttribute for its
    command-line writes so we can actually pass in the timeout optional
    parameter for testing.

  2. Factor some code for dealing with timed interactions out of
    CommandSender into TimedRequest so WriteClient can share it.

  3. Fix the OnError signature for WriteClient::Callback to take a
    StatusIB, so we can properly communicate errors back and actually
    test for them in YAML.

Problem

No timed write support.

Change overview

See above.

Testing

New yaml tests testing the functionality.

@github-actions
Copy link

github-actions bot commented Dec 3, 2021

PR #12567: Size comparison from 21757de to 83d598f

Increases above 0.2%:

platform target config section 21757de 83d598f change % change
linux chip-tool debug .rodata 307512 309048 1536 0.5
ota-provider-app debug .rodata 121800 122120 320 0.3
Increases (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 21757de 83d598f change % change
efr32 lighting-app BRD4161A (read only) 751784 752024 240 0.0
(read/write) 120032 120048 16 0.0
.bss 118200 118216 16 0.0
.text 751776 752016 240 0.0
BRD4161A+rpc (read only) 780440 780688 248 0.0
(read/write) 138336 138352 16 0.0
.bss 136400 136416 16 0.0
.text 780432 780680 248 0.0
lock-app BRD4161A (read only) 726592 726856 264 0.0
(read/write) 117968 117984 16 0.0
.bss 116176 116192 16 0.0
.text 726584 726848 264 0.0
window-app BRD4161A (read only) 729096 729352 256 0.0
(read/write) 118168 118184 16 0.0
.bss 116376 116392 16 0.0
.text 729088 729344 256 0.0
esp32 all-clusters-app c3devkit (read only) 847594 847848 254 0.0
(read/write) 1222714 1222730 16 0.0
.dram0.bss 55352 55368 16 0.0
.flash.text 847594 847848 254 0.0
m5stack (read only) 918067 918267 200 0.0
(read/write) 421672 421696 24 0.0
.dram0.bss 60728 60744 16 0.0
.flash.rodata 195648 195656 8 0.0
.flash.text 912683 912883 200 0.0
k32w lighting-app k32w061+se05x+release (read/write) 728696 728860 164 0.0
.bss 79312 79328 16 0.0
.text 641724 641872 148 0.0
lock-app k32w061+debug (read/write) 618736 618932 196 0.0
.bss 69976 69992 16 0.0
.text 541132 541312 180 0.0
shell k32w061+debug (read/write) 684644 684840 196 0.0
.bss 81624 81640 16 0.0
.text 595420 595600 180 0.0
linux all-clusters-app debug (read only) 1848137 1849369 1232 0.1
(read/write) 123216 123248 32 0.0
.bss 49680 49712 32 0.1
.rodata 149589 149909 320 0.2
.text 1555490 1556402 912 0.1
bridge-app debug+rpc (read only) 1431021 1432205 1184 0.1
(read/write) 74648 74680 32 0.0
.bss 36272 36304 32 0.1
.rodata 121044 121300 256 0.2
.text 1205077 1206005 928 0.1
chip-tool debug (read only) 6593069 6600365 7296 0.1
(read/write) 199400 199432 32 0.0
.bss 34536 34568 32 0.1
.rodata 307512 309048 1536 0.5
.text 5881573 5887333 5760 0.1
lighting-app debug+rpc (read only) 1716161 1717361 1200 0.1
(read/write) 107680 107712 32 0.0
.bss 41968 42000 32 0.1
.rodata 141681 141969 288 0.2
.text 1431810 1432722 912 0.1
ota-provider-app debug (read only) 1391625 1392857 1232 0.1
(read/write) 72848 72880 32 0.0
.bss 38848 38880 32 0.1
.rodata 121800 122120 320 0.3
.text 1165138 1166050 912 0.1
ota-requestor-app debug (read only) 1498297 1499465 1168 0.1
(read/write) 76816 76848 32 0.0
.bss 40992 41024 32 0.1
.rodata 134288 134608 320 0.2
.text 1255314 1256162 848 0.1
tv-app debug (read only) 2029745 2030897 1152 0.1
(read/write) 320032 320064 32 0.0
.bss 247288 247320 32 0.0
.rodata 174216 174504 288 0.2
.text 1700786 1701650 864 0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2306704 2306904 200 0.0
.bss 178404 178420 16 0.0
.text 1269280 1269480 200 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2296296 2296496 200 0.0
.bss 173304 173320 16 0.0
.text 1258896 1259096 200 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2270224 2270424 200 0.0
.bss 172344 172360 16 0.0
.text 1232824 1233024 200 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 891715 891935 220 0.0
bss 113756 113772 16 0.0
rodata 99588 99600 12 0.0
text 602824 602996 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 855091 855311 220 0.0
bss 110104 110120 16 0.0
rodata 90948 90960 12 0.0
text 577820 577992 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 817626 817830 204 0.0
bss 115128 115144 16 0.0
rodata 94844 94856 12 0.0
text 533164 533332 168 0.0
lock-app nrf52840dk_nrf52840 (read/write) 863655 863859 204 0.0
bss 111016 111032 16 0.0
rodata 95704 95716 12 0.0
text 581544 581740 196 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 789794 789998 204 0.0
bss 112428 112444 16 0.0
rodata 90996 91008 12 0.0
text 511972 512164 192 0.0
pump-app nrf52840dk_nrf52840 (read/write) 868523 868743 220 0.0
bss 110928 110944 16 0.0
rodata 97060 97072 12 0.0
text 585084 585280 196 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 861763 862015 252 0.0
bss 110808 110824 16 0.0
rodata 95196 95208 12 0.0
text 580316 580512 196 0.0
p6 all-clusters-app default (read/write) 2339080 2339344 264 0.0
.bss 106596 106612 16 0.0
.text 1297344 1297608 264 0.0
light-app default (read/write) 2279744 2279984 240 0.0
.bss 98536 98552 16 0.0
.text 1238008 1238248 240 0.0
lock-app default (read/write) 2256048 2256296 248 0.0
.bss 97416 97432 16 0.0
.text 1214312 1214560 248 0.0
qpg lighting-app qpg6100+debug (read only) 510480 510636 156 0.0
.bss 80272 80280 8 0.0
.text 505160 505316 156 0.0
lock-app qpg6100+debug (read only) 484124 484304 180 0.0
.bss 79408 79416 8 0.0
.text 478804 478984 180 0.0
telink lighting-app tlsr9518adk80d (read/write) 794794 795042 248 0.0
bss 80332 80348 16 0.0
text 554586 554810 224 0.0
Decreases (6 builds for mbed, p6)
platform target config section 21757de 83d598f change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 852856 852840 -16 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 857648 857632 -16 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 858608 858592 -16 -0.0
p6 all-clusters-app default .heap 924280 924264 -16 -0.0
light-app default .heap 932472 932456 -16 -0.0
lock-app default .heap 933632 933616 -16 -0.0
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 21757de 83d598f change % change
efr32 lighting-app BRD4161A (read only) 751784 752024 240 0.0
(read/write) 120032 120048 16 0.0
.bss 118200 118216 16 0.0
.data 1828 1828 0 0.0
.text 751776 752016 240 0.0
BRD4161A+rpc (read only) 780440 780688 248 0.0
(read/write) 138336 138352 16 0.0
.bss 136400 136416 16 0.0
.data 1936 1936 0 0.0
.text 780432 780680 248 0.0
lock-app BRD4161A (read only) 726592 726856 264 0.0
(read/write) 117968 117984 16 0.0
.bss 116176 116192 16 0.0
.data 1788 1788 0 0.0
.text 726584 726848 264 0.0
window-app BRD4161A (read only) 729096 729352 256 0.0
(read/write) 118168 118184 16 0.0
.bss 116376 116392 16 0.0
.data 1792 1792 0 0.0
.text 729088 729344 256 0.0
esp32 all-clusters-app c3devkit (read only) 847594 847848 254 0.0
(read/write) 1222714 1222730 16 0.0
.dram0.bss 55352 55368 16 0.0
.dram0.data 14052 14052 0 0.0
.flash.rodata 167848 167848 0 0.0
.flash.text 847594 847848 254 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 918067 918267 200 0.0
(read/write) 421672 421696 24 0.0
.dram0.bss 60728 60744 16 0.0
.dram0.data 34016 34016 0 0.0
.flash.rodata 195648 195656 8 0.0
.flash.text 912683 912883 200 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 728696 728860 164 0.0
.bss 79312 79328 16 0.0
.data 1860 1860 0 0.0
.text 641724 641872 148 0.0
lock-app k32w061+debug (read/write) 618736 618932 196 0.0
.bss 69976 69992 16 0.0
.data 1828 1828 0 0.0
.text 541132 541312 180 0.0
shell k32w061+debug (read/write) 684644 684840 196 0.0
.bss 81624 81640 16 0.0
.data 1800 1800 0 0.0
.text 595420 595600 180 0.0
linux all-clusters-app debug (read only) 1848137 1849369 1232 0.1
(read/write) 123216 123248 32 0.0
.bss 49680 49712 32 0.1
.data 1120 1120 0 0.0
.data.rel.ro 66976 66976 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 696 696 0 0.0
.rodata 149589 149909 320 0.2
.text 1555490 1556402 912 0.1
bridge-app debug+rpc (read only) 1431021 1432205 1184 0.1
(read/write) 74648 74680 32 0.0
.bss 36272 36304 32 0.1
.data 1728 1728 0 0.0
.data.rel.ro 31560 31560 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 121044 121300 256 0.2
.text 1205077 1206005 928 0.1
chip-tool debug (read only) 6593069 6600365 7296 0.1
(read/write) 199400 199432 32 0.0
.bss 34536 34568 32 0.1
.data 1024 1024 0 0.0
.data.rel.ro 158168 158168 0 0.0
.dynamic 592 592 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 568 568 0 0.0
.rodata 307512 309048 1536 0.5
.text 5881573 5887333 5760 0.1
lighting-app debug+rpc (read only) 1716161 1717361 1200 0.1
(read/write) 107680 107712 32 0.0
.bss 41968 42000 32 0.1
.data 1280 1280 0 0.0
.data.rel.ro 59056 59056 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 141681 141969 288 0.2
.text 1431810 1432722 912 0.1
ota-provider-app debug (read only) 1391625 1392857 1232 0.1
(read/write) 72848 72880 32 0.0
.bss 38848 38880 32 0.1
.data 928 928 0 0.0
.data.rel.ro 27880 27880 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 121800 122120 320 0.3
.text 1165138 1166050 912 0.1
ota-requestor-app debug (read only) 1498297 1499465 1168 0.1
(read/write) 76816 76848 32 0.0
.bss 40992 41024 32 0.1
.data 992 992 0 0.0
.data.rel.ro 29592 29592 0 0.0
.dynamic 592 592 0 0.0
.got 4072 4072 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 134288 134608 320 0.2
.text 1255314 1256162 848 0.1
shell debug (read only) 822041 822041 0 0.0
(read/write) 60616 60616 0 0.0
.bss 16936 16936 0 0.0
.data 256 256 0 0.0
.data.rel.ro 38936 38936 0 0.0
.dynamic 592 592 0 0.0
.got 3520 3520 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83634 83634 0 0.0
.text 631570 631570 0 0.0
tv-app debug (read only) 2029745 2030897 1152 0.1
(read/write) 320032 320064 32 0.0
.bss 247288 247320 32 0.0
.data 2768 2768 0 0.0
.data.rel.ro 64168 64168 0 0.0
.dynamic 592 592 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 174216 174504 288 0.2
.text 1700786 1701650 864 0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2306704 2306904 200 0.0
.bss 178404 178420 16 0.0
.data 5184 5184 0 0.0
.heap 852856 852840 -16 -0.0
.text 1269280 1269480 200 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2296296 2296496 200 0.0
.bss 173304 173320 16 0.0
.data 5496 5496 0 0.0
.heap 857648 857632 -16 -0.0
.text 1258896 1259096 200 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2270224 2270424 200 0.0
.bss 172344 172360 16 0.0
.data 5496 5496 0 0.0
.heap 858608 858592 -16 -0.0
.text 1232824 1233024 200 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2047408 2047408 0 0.0
.bss 156732 156732 0 0.0
.data 4872 4872 0 0.0
.heap 874840 874840 0 0.0
.text 1010008 1010008 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 891715 891935 220 0.0
bss 113756 113772 16 0.0
rodata 99588 99600 12 0.0
text 602824 602996 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 855091 855311 220 0.0
bss 110104 110120 16 0.0
rodata 90948 90960 12 0.0
text 577820 577992 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 817626 817830 204 0.0
bss 115128 115144 16 0.0
rodata 94844 94856 12 0.0
text 533164 533332 168 0.0
lock-app nrf52840dk_nrf52840 (read/write) 863655 863859 204 0.0
bss 111016 111032 16 0.0
rodata 95704 95716 12 0.0
text 581544 581740 196 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 789794 789998 204 0.0
bss 112428 112444 16 0.0
rodata 90996 91008 12 0.0
text 511972 512164 192 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 868523 868743 220 0.0
bss 110928 110944 16 0.0
rodata 97060 97072 12 0.0
text 585084 585280 196 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 861763 862015 252 0.0
bss 110808 110824 16 0.0
rodata 95196 95208 12 0.0
text 580316 580512 196 0.0
shell nrf52840dk_nrf52840 (read/write) 779907 779907 0 0.0
bss 109696 109696 0 0.0
rodata 73792 73792 0 0.0
text 521920 521920 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694934 694934 0 0.0
bss 110680 110680 0 0.0
rodata 68432 68432 0 0.0
text 442524 442524 0 0.0
p6 all-clusters-app default (read/write) 2339080 2339344 264 0.0
.bss 106596 106612 16 0.0
.data 2464 2464 0 0.0
.heap 924280 924264 -16 -0.0
.text 1297344 1297608 264 0.0
light-app default (read/write) 2279744 2279984 240 0.0
.bss 98536 98552 16 0.0
.data 2336 2336 0 0.0
.heap 932472 932456 -16 -0.0
.text 1238008 1238248 240 0.0
lock-app default (read/write) 2256048 2256296 248 0.0
.bss 97416 97432 16 0.0
.data 2296 2296 0 0.0
.heap 933632 933616 -16 -0.0
.text 1214312 1214560 248 0.0
qpg lighting-app qpg6100+debug (read only) 510480 510636 156 0.0
(read/write) 122332 122332 0 0.0
.bss 80272 80280 8 0.0
.data 964 964 0 0.0
.text 505160 505316 156 0.0
lock-app qpg6100+debug (read only) 484124 484304 180 0.0
(read/write) 122336 122336 0 0.0
.bss 79408 79416 8 0.0
.data 920 920 0 0.0
.text 478804 478984 180 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 122332 122332 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 794794 795042 248 0.0
bss 80332 80348 16 0.0
noinit 37160 37160 0 0.0
text 554586 554810 224 0.0

Copy link
Contributor

@yunhanw-google yunhanw-google left a comment

Choose a reason for hiding this comment

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

Thank you!

@andy31415
Copy link
Contributor

fast track: created and approved by domain owner.

Fixes that had to be made alongside the main change:

1) Fix chip-tool to use the templated WriteAttribute for its
   command-line writes so we can actually pass in the timeout optional
   parameter for testing.

2) Factor some code for dealing with timed interactions out of
   CommandSender into TimedRequest so WriteClient can share it.

3) Fix the OnError signature for WriteClient::Callback to take a
   StatusIB, so we can properly communicate errors back and actually
   test for them in YAML.
@github-actions
Copy link

github-actions bot commented Dec 6, 2021

PR #12567: Size comparison from f350919 to f9ee0d9

Increases above 0.2%:

platform target config section f350919 f9ee0d9f change % change
linux bridge-app debug+rpc .rodata 121628 121948 320 0.3
chip-tool debug .rodata 311544 313112 1568 0.5
ota-provider-app debug .rodata 122984 123304 320 0.3
Increases (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section f350919 f9ee0d9f change % change
efr32 lighting-app BRD4161A (read only) 798568 798808 240 0.0
(read/write) 120648 120664 16 0.0
.bss 118816 118832 16 0.0
.text 798560 798800 240 0.0
BRD4161A+rpc (read only) 826536 826784 248 0.0
(read/write) 138952 138968 16 0.0
.bss 137016 137032 16 0.0
.text 826528 826776 248 0.0
lock-app BRD4161A (read only) 773636 773900 264 0.0
(read/write) 118580 118596 16 0.0
.bss 116792 116808 16 0.0
.text 773628 773892 264 0.0
window-app BRD4161A (read only) 775892 776132 240 0.0
(read/write) 118784 118800 16 0.0
.bss 116992 117008 16 0.0
.text 775884 776124 240 0.0
esp32 all-clusters-app c3devkit (read only) 852314 852568 254 0.0
(read/write) 1290914 1290930 16 0.0
.dram0.bss 56352 56368 16 0.0
.flash.text 852314 852568 254 0.0
m5stack (read only) 922223 922415 192 0.0
(read/write) 424356 424380 24 0.0
.dram0.bss 61736 61752 16 0.0
.flash.rodata 197324 197332 8 0.0
.flash.text 916839 917031 192 0.0
k32w lighting-app k32w061+se05x+release (read/write) 731812 731976 164 0.0
.bss 79312 79328 16 0.0
.text 644840 644988 148 0.0
lock-app k32w061+debug (read/write) 621980 622176 196 0.0
.bss 69976 69992 16 0.0
.text 544376 544556 180 0.0
shell k32w061+debug (read/write) 687872 688068 196 0.0
.bss 81624 81640 16 0.0
.text 598648 598828 180 0.0
linux all-clusters-app debug (read only) 1872649 1873897 1248 0.1
(read/write) 124336 124368 32 0.0
.bss 50672 50704 32 0.1
.rodata 152245 152565 320 0.2
.text 1577298 1578226 928 0.1
bridge-app debug+rpc (read only) 1444117 1445349 1232 0.1
(read/write) 74648 74680 32 0.0
.bss 36272 36304 32 0.1
.rodata 121628 121948 320 0.3
.text 1217589 1218501 912 0.1
chip-tool debug (read only) 6638421 6645845 7424 0.1
(read/write) 199752 199784 32 0.0
.bss 34536 34568 32 0.1
.rodata 311544 313112 1568 0.5
.text 5922149 5928005 5856 0.1
lighting-app debug+rpc (read only) 1729265 1730449 1184 0.1
(read/write) 107680 107712 32 0.0
.bss 41968 42000 32 0.1
.rodata 142289 142545 256 0.2
.text 1444306 1445234 928 0.1
ota-provider-app debug (read only) 1400777 1402009 1232 0.1
(read/write) 72848 72880 32 0.0
.bss 38848 38880 32 0.1
.rodata 122984 123304 320 0.3
.text 1173106 1174018 912 0.1
ota-requestor-app debug (read only) 1510033 1511185 1152 0.1
(read/write) 77896 77928 32 0.0
.bss 42016 42048 32 0.1
.rodata 135728 136016 288 0.2
.text 1265666 1266530 864 0.1
tv-app debug (read only) 2046297 2047433 1136 0.1
(read/write) 320032 320064 32 0.0
.bss 247288 247320 32 0.0
.rodata 174480 174768 288 0.2
.text 1717074 1717922 848 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2313024 2313224 200 0.0
.bss 179404 179420 16 0.0
.text 1275600 1275800 200 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2298968 2299168 200 0.0
.bss 173304 173320 16 0.0
.text 1261568 1261768 200 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2272960 2273224 264 0.0
.bss 172344 172360 16 0.0
.text 1235560 1235824 264 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 894783 895003 220 0.0
bss 113756 113772 16 0.0
rodata 99680 99692 12 0.0
text 605796 605968 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 858159 858363 204 0.0
bss 110104 110120 16 0.0
rodata 91040 91052 12 0.0
text 580792 580964 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 820678 820898 220 0.0
bss 115128 115144 16 0.0
rodata 94936 94948 12 0.0
text 536128 536296 168 0.0
lock-app nrf52840dk_nrf52840 (read/write) 866803 867007 204 0.0
bss 111016 111032 16 0.0
rodata 95796 95808 12 0.0
text 584604 584800 196 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 792938 793142 204 0.0
bss 112428 112444 16 0.0
rodata 91084 91096 12 0.0
text 515028 515220 192 0.0
pump-app nrf52840dk_nrf52840 (read/write) 871587 871791 204 0.0
bss 110928 110944 16 0.0
rodata 97148 97160 12 0.0
text 588052 588248 196 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 864831 865067 236 0.0
bss 110808 110824 16 0.0
rodata 95288 95300 12 0.0
text 583284 583480 196 0.0
p6 all-clusters-app default (read/write) 2349264 2349504 240 0.0
.bss 107596 107612 16 0.0
.text 1307528 1307768 240 0.0
light-app default (read/write) 2283888 2284136 248 0.0
.bss 98536 98552 16 0.0
.text 1242152 1242400 248 0.0
lock-app default (read/write) 2260424 2260680 256 0.0
.bss 97416 97432 16 0.0
.text 1218688 1218944 256 0.0
qpg lighting-app qpg6100+debug (read only) 513612 513768 156 0.0
.bss 80272 80280 8 0.0
.text 508292 508448 156 0.0
lock-app qpg6100+debug (read only) 487352 487532 180 0.0
.bss 79408 79416 8 0.0
.text 482032 482212 180 0.0
telink lighting-app tlsr9518adk80d (read/write) 798158 798406 248 0.0
bss 80332 80348 16 0.0
text 557858 558082 224 0.0
Decreases (6 builds for mbed, p6)
platform target config section f350919 f9ee0d9f change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 851856 851840 -16 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 857648 857632 -16 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 858608 858592 -16 -0.0
p6 all-clusters-app default .heap 923280 923264 -16 -0.0
light-app default .heap 932472 932456 -16 -0.0
lock-app default .heap 933632 933616 -16 -0.0
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section f350919 f9ee0d9f change % change
efr32 lighting-app BRD4161A (read only) 798568 798808 240 0.0
(read/write) 120648 120664 16 0.0
.bss 118816 118832 16 0.0
.data 1828 1828 0 0.0
.text 798560 798800 240 0.0
BRD4161A+rpc (read only) 826536 826784 248 0.0
(read/write) 138952 138968 16 0.0
.bss 137016 137032 16 0.0
.data 1936 1936 0 0.0
.text 826528 826776 248 0.0
lock-app BRD4161A (read only) 773636 773900 264 0.0
(read/write) 118580 118596 16 0.0
.bss 116792 116808 16 0.0
.data 1788 1788 0 0.0
.text 773628 773892 264 0.0
window-app BRD4161A (read only) 775892 776132 240 0.0
(read/write) 118784 118800 16 0.0
.bss 116992 117008 16 0.0
.data 1792 1792 0 0.0
.text 775884 776124 240 0.0
esp32 all-clusters-app c3devkit (read only) 852314 852568 254 0.0
(read/write) 1290914 1290930 16 0.0
.dram0.bss 56352 56368 16 0.0
.dram0.data 14052 14052 0 0.0
.flash.rodata 169520 169520 0 0.0
.flash.text 852314 852568 254 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 922223 922415 192 0.0
(read/write) 424356 424380 24 0.0
.dram0.bss 61736 61752 16 0.0
.dram0.data 34016 34016 0 0.0
.flash.rodata 197324 197332 8 0.0
.flash.text 916839 917031 192 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 731812 731976 164 0.0
.bss 79312 79328 16 0.0
.data 1860 1860 0 0.0
.text 644840 644988 148 0.0
lock-app k32w061+debug (read/write) 621980 622176 196 0.0
.bss 69976 69992 16 0.0
.data 1828 1828 0 0.0
.text 544376 544556 180 0.0
shell k32w061+debug (read/write) 687872 688068 196 0.0
.bss 81624 81640 16 0.0
.data 1800 1800 0 0.0
.text 598648 598828 180 0.0
linux all-clusters-app debug (read only) 1872649 1873897 1248 0.1
(read/write) 124336 124368 32 0.0
.bss 50672 50704 32 0.1
.data 1120 1120 0 0.0
.data.rel.ro 67104 67104 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 696 696 0 0.0
.rodata 152245 152565 320 0.2
.text 1577298 1578226 928 0.1
bridge-app debug+rpc (read only) 1444117 1445349 1232 0.1
(read/write) 74648 74680 32 0.0
.bss 36272 36304 32 0.1
.data 1728 1728 0 0.0
.data.rel.ro 31560 31560 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 121628 121948 320 0.3
.text 1217589 1218501 912 0.1
chip-tool debug (read only) 6638421 6645845 7424 0.1
(read/write) 199752 199784 32 0.0
.bss 34536 34568 32 0.1
.data 1024 1024 0 0.0
.data.rel.ro 158520 158520 0 0.0
.dynamic 592 592 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 568 568 0 0.0
.rodata 311544 313112 1568 0.5
.text 5922149 5928005 5856 0.1
lighting-app debug+rpc (read only) 1729265 1730449 1184 0.1
(read/write) 107680 107712 32 0.0
.bss 41968 42000 32 0.1
.data 1280 1280 0 0.0
.data.rel.ro 59056 59056 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 142289 142545 256 0.2
.text 1444306 1445234 928 0.1
ota-provider-app debug (read only) 1400777 1402009 1232 0.1
(read/write) 72848 72880 32 0.0
.bss 38848 38880 32 0.1
.data 928 928 0 0.0
.data.rel.ro 27880 27880 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 122984 123304 320 0.3
.text 1173106 1174018 912 0.1
ota-requestor-app debug (read only) 1510033 1511185 1152 0.1
(read/write) 77896 77928 32 0.0
.bss 42016 42048 32 0.1
.data 992 992 0 0.0
.data.rel.ro 29656 29656 0 0.0
.dynamic 592 592 0 0.0
.got 4064 4064 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 135728 136016 288 0.2
.text 1265666 1266530 864 0.1
shell debug (read only) 823449 823449 0 0.0
(read/write) 60616 60616 0 0.0
.bss 16936 16936 0 0.0
.data 256 256 0 0.0
.data.rel.ro 38936 38936 0 0.0
.dynamic 592 592 0 0.0
.got 3520 3520 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 84658 84658 0 0.0
.text 631954 631954 0 0.0
tv-app debug (read only) 2046297 2047433 1136 0.1
(read/write) 320032 320064 32 0.0
.bss 247288 247320 32 0.0
.data 2768 2768 0 0.0
.data.rel.ro 64168 64168 0 0.0
.dynamic 592 592 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 174480 174768 288 0.2
.text 1717074 1717922 848 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2313024 2313224 200 0.0
.bss 179404 179420 16 0.0
.data 5184 5184 0 0.0
.heap 851856 851840 -16 -0.0
.text 1275600 1275800 200 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2298968 2299168 200 0.0
.bss 173304 173320 16 0.0
.data 5496 5496 0 0.0
.heap 857648 857632 -16 -0.0
.text 1261568 1261768 200 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2272960 2273224 264 0.0
.bss 172344 172360 16 0.0
.data 5496 5496 0 0.0
.heap 858608 858592 -16 -0.0
.text 1235560 1235824 264 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2047472 2047472 0 0.0
.bss 156732 156732 0 0.0
.data 4872 4872 0 0.0
.heap 874840 874840 0 0.0
.text 1010072 1010072 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 894783 895003 220 0.0
bss 113756 113772 16 0.0
rodata 99680 99692 12 0.0
text 605796 605968 172 0.0
nrf52840dk_nrf52840+rpc (read/write) 858159 858363 204 0.0
bss 110104 110120 16 0.0
rodata 91040 91052 12 0.0
text 580792 580964 172 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 820678 820898 220 0.0
bss 115128 115144 16 0.0
rodata 94936 94948 12 0.0
text 536128 536296 168 0.0
lock-app nrf52840dk_nrf52840 (read/write) 866803 867007 204 0.0
bss 111016 111032 16 0.0
rodata 95796 95808 12 0.0
text 584604 584800 196 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 792938 793142 204 0.0
bss 112428 112444 16 0.0
rodata 91084 91096 12 0.0
text 515028 515220 192 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 871587 871791 204 0.0
bss 110928 110944 16 0.0
rodata 97148 97160 12 0.0
text 588052 588248 196 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 864831 865067 236 0.0
bss 110808 110824 16 0.0
rodata 95288 95300 12 0.0
text 583284 583480 196 0.0
shell nrf52840dk_nrf52840 (read/write) 779939 779939 0 0.0
bss 109696 109696 0 0.0
rodata 73792 73792 0 0.0
text 521948 521948 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694966 694966 0 0.0
bss 110680 110680 0 0.0
rodata 68432 68432 0 0.0
text 442548 442548 0 0.0
p6 all-clusters-app default (read/write) 2349264 2349504 240 0.0
.bss 107596 107612 16 0.0
.data 2464 2464 0 0.0
.heap 923280 923264 -16 -0.0
.text 1307528 1307768 240 0.0
light-app default (read/write) 2283888 2284136 248 0.0
.bss 98536 98552 16 0.0
.data 2336 2336 0 0.0
.heap 932472 932456 -16 -0.0
.text 1242152 1242400 248 0.0
lock-app default (read/write) 2260424 2260680 256 0.0
.bss 97416 97432 16 0.0
.data 2296 2296 0 0.0
.heap 933632 933616 -16 -0.0
.text 1218688 1218944 256 0.0
qpg lighting-app qpg6100+debug (read only) 513612 513768 156 0.0
(read/write) 122332 122332 0 0.0
.bss 80272 80280 8 0.0
.data 964 964 0 0.0
.text 508292 508448 156 0.0
lock-app qpg6100+debug (read only) 487352 487532 180 0.0
(read/write) 122336 122336 0 0.0
.bss 79408 79416 8 0.0
.data 920 920 0 0.0
.text 482032 482212 180 0.0
persistent-storage-app qpg6100+debug (read only) 108224 108224 0 0.0
(read/write) 122332 122332 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102904 102904 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 798158 798406 248 0.0
bss 80332 80348 16 0.0
noinit 37160 37160 0 0.0
text 557858 558082 224 0.0

@andy31415 andy31415 merged commit 3397fdc into project-chip:master Dec 6, 2021
@bzbarsky-apple bzbarsky-apple deleted the timed-write-client branch December 6, 2021 19:06
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.

Integrate timed request message with IM command
3 participants