Skip to content

WIP: Updated Static Schedule Implementation#362

Open
tanneberger wants to merge 1 commit into
mainfrom
static-schedule
Open

WIP: Updated Static Schedule Implementation#362
tanneberger wants to merge 1 commit into
mainfrom
static-schedule

Conversation

@tanneberger
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Memory usage after merging this PR will be:

Memory Report

action_buffer_full_defer_test_c

from to increase (%)
text 78281 78654 0.48
data 752 752 0.00
bss 12448 12448 0.00
dec 91481 91854 0.41

action_buffer_full_drop_test_c

from to increase (%)
text 78281 78654 0.48
data 752 752 0.00
bss 12448 12448 0.00
dec 91481 91854 0.41

action_buffer_full_replace_test_c

from to increase (%)
text 78281 78654 0.48
data 752 752 0.00
bss 12448 12448 0.00
dec 91481 91854 0.41

action_buffer_full_update_test_c

from to increase (%)
text 78281 78654 0.48
data 752 752 0.00
bss 12448 12448 0.00
dec 91481 91854 0.41

action_defer_test_c

from to increase (%)
text 78395 78736 0.43
data 752 752 0.00
bss 12512 12512 0.00
dec 91659 92000 0.37

action_drop_test_c

from to increase (%)
text 78219 78560 0.44
data 752 752 0.00
bss 12512 12512 0.00
dec 91483 91824 0.37

action_empty_test_c

from to increase (%)
text 77900 78241 0.44
data 752 752 0.00
bss 12448 12448 0.00
dec 91100 91441 0.37

action_microstep_test_c

from to increase (%)
text 78430 78771 0.43
data 760 760 0.00
bss 12512 12512 0.00
dec 91702 92043 0.37

action_overwrite_test_c

from to increase (%)
text 78113 78486 0.48
data 752 752 0.00
bss 12512 12512 0.00
dec 91377 91750 0.41

action_replace_test_c

from to increase (%)
text 78219 78592 0.48
data 752 752 0.00
bss 12512 12512 0.00
dec 91483 91856 0.41

action_test_c

from to increase (%)
text 78207 78548 0.44
data 760 760 0.00
bss 12512 12512 0.00
dec 91479 91820 0.37

action_update_test_c

from to increase (%)
text 78316 78689 0.48
data 752 752 0.00
bss 12512 12512 0.00
dec 91580 91953 0.41

deadline_test_c

from to increase (%)
text 72509 72882 0.51
data 768 768 0.00
bss 11808 11808 0.00
dec 85085 85458 0.44

delayed_conn_test_c

from to increase (%)
text 76705 77078 0.49
data 752 752 0.00
bss 13280 13280 0.00
dec 90737 91110 0.41

event_payload_pool_test_c

from to increase (%)
text 24314 24314 0.00
data 720 720 0.00
bss 480 480 0.00
dec 25514 25514 0.00

event_queue_test_c

from to increase (%)
text 36107 36107 0.00
data 728 728 0.00
bss 640 640 0.00
dec 37475 37475 0.00

nanopb_test_c

from to increase (%)
text 44218 44218 0.00
data 1928 1928 0.00
bss 320 320 0.00
dec 46466 46466 0.00

physical_clock_test_c

from to increase (%)
text 54342 54683 0.63
data 832 832 0.00
bss 640 640 0.00
dec 55814 56155 0.61

port_test_c

from to increase (%)
text 76608 76981 0.49
data 752 752 0.00
bss 13088 13088 0.00
dec 90448 90821 0.41

reaction_queue_test_c

from to increase (%)
text 30420 30420 0.00
data 728 728 0.00
bss 480 480 0.00
dec 31628 31628 0.00

request_shutdown_test_c

from to increase (%)
text 78244 78617 0.48
data 752 752 0.00
bss 12512 12512 0.00
dec 91508 91881 0.41

startup_test_c

from to increase (%)
text 72138 72479 0.47
data 760 760 0.00
bss 11808 11808 0.00
dec 84706 85047 0.40

tcp_channel_test_c

from to increase (%)
text 96896 97237 0.35
data 2288 2288 0.00
bss 14720 14720 0.00
dec 113904 114245 0.30

timer_test_c

from to increase (%)
text 72110 72483 0.52
data 752 752 0.00
bss 11808 11808 0.00
dec 84670 85043 0.44

@github-actions
Copy link
Copy Markdown
Contributor

Benchmark results after merging this PR:

Benchmark results

Performance:

PingPongUc:
Best Time: 608.287 msec
Worst Time: 763.557 msec
Median Time: 683.288 msec

PingPongC:
Best Time: 176.585 msec
Worst Time: 177.751 msec
Median Time: 176.720 msec

ReactionLatencyUc:
Best latency: 21965 nsec
Median latency: 65575 nsec
Worst latency: 134909 nsec

ReactionLatencyC:
Best latency: 48325 nsec
Median latency: 65698 nsec
Worst latency: 131996 nsec

Memory usage:

PingPongUc:
text data bss dec hex filename
41306 760 8536 50602 c5aa bin/PingPongUc

PingPongC:
text data bss dec hex filename
52194 934 424 53552 d130 bin/PingPongC

ReactionLatencyUc:
text data bss dec hex filename
26431 744 2552 29727 741f bin/ReactionLatencyUc

ReactionLatencyC:
text data bss dec hex filename
47736 902 424 49062 bfa6 bin/ReactionLatencyC

@github-actions
Copy link
Copy Markdown
Contributor

Coverage after merging static-schedule into main will be

85.03%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
include/reactor-uc
   event.h48.78%37.50%66.67%52.63%101, 101–102, 115–116, 116, 116, 116, 116–117, 119–121, 140–141, 141, 141, 141, 141
src
   action.c94.35%84%100%98.32%106, 145, 25, 42, 42, 60, 75, 97–99
   builtin_triggers.c90.91%70%100%96.77%14, 18, 40, 43
   clock_synchronization.c75.45%62.16%92.31%78.54%106–109, 116–118, 143, 149–151, 154, 158, 160–161, 161, 161–163, 163, 163, 166, 166, 166–167, 170–175, 175, 175–176, 180, 182–188, 188, 188–189, 192, 214–215, 224–225, 238–239, 241, 254–256, 26, 264–266, 27, 30, 310–311, 323, 323–326, 33–35, 49–52, 79–80, 95–97
   connection.c90.45%76.60%100%96.04%106, 112, 14, 140–141, 147, 149–150, 152, 27–28, 35, 50, 56, 99
   environment.c94.12%83.33%100%100%16, 29
   event.c100%100%100%100%
   federated.c80.50%57.29%100%90%120, 123–124, 148–149, 17, 176, 18–20, 202–203, 21, 210, 214, 214, 214, 214–217, 224–225, 228–230, 233–234, 236–239, 243, 246, 256, 275–277, 285–287, 30, 301–302, 304–307, 310–313, 33–34, 40–41, 45, 58, 58, 58–59, 65
   logging.c88.52%83.33%100%89.36%25, 38–40, 47, 60–61
   network_channel.c80.77%75%100%82.35%40, 40, 45–46, 57
   physical_clock.c97.40%83.33%100%100%26, 41
   port.c92.50%78.57%100%100%10, 15, 22, 26, 46–47
   queues.c91.90%84.21%100%94.15%128, 132, 132, 132–133, 181, 188–191, 217–219, 221, 234, 250, 255, 261, 55, 62–65
   reaction.c95.90%89.13%100%100%21, 30, 32, 56, 72
   reactor.c86%69.70%100%98.73%10, 101–102, 14–19, 22, 28, 32–34, 37–38, 43, 60, 77, 83, 91
   serialization.c75%50%100%80%16–17, 26–27, 34–35, 42–43
   startup_coordinator.c57.34%48.78%71.43%60.88%104–106, 116, 122, 124–125, 128, 138, 144, 149, 153–154, 174, 177–178, 188, 188, 188–189, 191, 193, 196, 21, 222, 226–227, 227, 227–228, 232, 235, 237, 242–243, 264, 273, 276, 293–294, 303, 303–304, 308, 316, 32, 362–364, 364, 364–365, 365, 365–368, 371–372, 372, 372, 375, 380, 380, 380–390, 393, 395, 398, 400–401, 401, 401–402, 405, 405, 405–407, 407, 407–408, 408, 408–410, 414, 414, 414–416, 420–423, 423, 423, 425–426, 429, 429, 429–430, 430, 430, 430, 430–431, 436–437, 437, 437–438, 438, 438–439, 443–444, 446, 448, 448, 448–457, 457, 457–465, 467, 471, 473, 473, 473, 475–476, 476, 476–477, 477, 477, 480–481, 481, 481–483, 488, 494, 494, 494, 494, 510–513, 515–518, 520–523, 525–527, 544, 544, 544, 544, 64, 67, 67, 67–69, 69, 69–76, 76, 76, 79, 79, 79–80, 82, 91–92, 94
   tag.c45.79%37.04%60%54.17%14, 17, 23–24, 24, 24, 24, 24–25, 27, 27, 27, 27, 27–28, 30, 30, 30–31, 33–34, 34, 34–35, 37, 37, 37, 37, 37–38, 40, 40, 40, 40, 40–41, 43, 63, 67–68, 83–85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85–87, 89
   timer.c97.50%83.33%100%100%14
   trigger.c100%100%100%100%
   util.c56.41%33.33%75%65.22%12–13, 13, 13–14, 14, 14–15, 15, 15–16, 18–19, 21, 24, 5
src/environments
   federated_environment.c85.11%70%100%90.22%113–116, 116, 116–119, 119, 119–121, 147–149, 25, 31, 43, 52, 55
   unfederated_environment.c93.88%71.43%100%97.18%13, 50, 50–51, 67–68
src/platform/posix
   posix.c84.87%63.64%86.67%90.24%114, 121, 126, 133, 17, 19, 21–23, 36–37, 59, 63, 77, 81, 95
   tcp_ip_channel.c70.90%57.71%100%79.69%102–103, 103, 103–104, 107–108, 108, 108–109, 112–113, 113, 113–114, 125–126, 128, 130, 134–135, 143, 146–147, 147, 147–148, 153–154, 154, 154–155, 161–162, 162, 162–163, 179, 182, 186, 186, 186, 186, 186–187, 187, 187–188, 188, 188–189, 191, 193, 193, 193–194, 203, 210–211, 216, 220–222, 222, 222–223, 226, 235, 235, 235–236, 269–270, 270, 270–271, 277, 282–283, 283, 283–284, 284, 284–285, 287–288, 288, 288–289, 289, 289, 291–292,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant