This change adds debug information about whether PGO is being used or not.
Microsoft performance tooling (e.g. xperf, WPA) uses this information to show whether functions are optimized with PGO or not, as well as whether PGO information is invalid.
This information is useful for validating whether training scenarios are providing good coverage of real world scenarios, showing if profile data is out of date, etc.
nit, the more common style to name parameters looks like getProfileSummary(/*IsCS=*/false). Sort of more Python-y.