[PATCH] D63949: [PGO] Add profile instrumentation sampling support

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 13:43:38 PDT 2019


davidxl added a comment.

Does the bursty style sampling provide additional benefit? A non-bursty style sampling can be cheaper:

sample_count++;
if (sample_count == SamplePeriod) {

  increment_prof_counter();
   sample_count = 0;

}


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63949/new/

https://reviews.llvm.org/D63949





More information about the llvm-commits mailing list