Add ability for crossgen2 to synthesize PGO histograms (#77683)
Add an option --synthesize-random-mibc. When passed, crossgen2 will use metadata from the compilation group to synthesize PGO histograms for methods that did not have any input profile data. Also supported for --embed-pgo-data, in which case the synthesized PGO data gets embedded. Adds a synthesizepgo argument to the src/tests/run.cmd/src/tests/run.sh scripts which enable this mode for compatible tests. So testing can be done locally via: .\src\tests\build.cmd crossgen2 checked .\src\tests\run.cmd checked runcrossgen2tests synthesizepgo
Showing
想要评论请 注册 或 登录