improve ZAM's estimation of profiling overheads

This commit is contained in:
Vern Paxson 2024-04-01 14:09:46 -07:00 committed by Tim Wojtulewicz
parent 32c7fececc
commit a474106fce
3 changed files with 54 additions and 28 deletions

View file

@ -325,6 +325,8 @@ static void init_options() {
// the usual "-O ZAM" profile. But if they have, honor those.
if ( ! analysis_options.gen_ZAM_code )
analysis_options.gen_ZAM = true;
estimate_ZAM_profiling_overhead();
}
if ( analysis_options.gen_ZAM ) {