mu_basecore icon indicating copy to clipboard operation
mu_basecore copied to clipboard

Enable DelayedDispatch in PEI

Open Javagedes opened this issue 1 year ago • 1 comments

NOTE: WAITING ON: https://github.com/microsoft/mu_basecore/commit/25a1aba5114fb14278bfc96b585f5746d8a6a5d5 TO BE MERGED (all of Firmware Performance Feature)

Description

Allow callbacks in PEI to register for minimum delay. PEI dispatch will continue to loop if there are any outstanding DelayDispatch registrations.

Includes: https://github.com/microsoft/mu_basecore/commit/c5c17265162b7d97123e2f6a4be21cb48ced2eff https://github.com/microsoft/mu_basecore/commit/30db3093fe2f7bee11422010be45f652966f1366

  • [x] Impacts functionality?
    • Functionality - Does the change ultimately impact how firmware functions?
    • Examples: Add a new library, publish a new PPI, update an algorithm, ...
  • [ ] Impacts security?
    • Security - Does the change have a direct security impact on an application, flow, or firmware?
    • Examples: Crypto algorithm change, buffer overflow fix, parameter validation improvement, ...
  • [ ] Breaking change?
    • Breaking change - Will anyone consuming this change experience a break in build or boot behavior?
    • Examples: Add a new library class, move a module to a different repo, call a function in a new library class in a pre-existing module, ...
  • [ ] Includes tests?
    • Tests - Does the change include any explicit test code?
    • Examples: Unit tests, integration tests, robot tests, ...
  • [ ] Includes documentation?
    • Documentation - Does the change contain explicit documentation additions outside direct code modifications (and comments)?
    • Examples: Update readme file, add feature readme file, link to documentation on an a separate Web page, ...

How This Was Tested

<Please describe the test(s) that were run to verify the changes.>

Integration Instructions

<Describe how these changes should be integrated. Use N/A if nothing is required.>

Javagedes avatar Jun 26 '24 17:06 Javagedes

Codecov Report

Attention: Patch coverage is 0% with 314 lines in your changes missing coverage. Please review.

Please upload report for BASE (release/202405@4c7d0c5). Learn more about missing BASE report.

Files Patch % Lines
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c 0.00% 314 Missing :warning:
Additional details and impacted files
@@                Coverage Diff                @@
##             release/202405     #969   +/-   ##
=================================================
  Coverage                  ?    1.23%           
=================================================
  Files                     ?     1421           
  Lines                     ?   358359           
  Branches                  ?     4336           
=================================================
  Hits                      ?     4412           
  Misses                    ?   353888           
  Partials                  ?       59           
Flag Coverage Δ
MdeModulePkg 0.20% <0.00%> (?)
MdePkg 5.41% <ø> (?)
NetworkPkg 0.55% <ø> (?)
UefiCpuPkg 4.80% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Jun 26 '24 19:06 codecov-commenter