Change INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE from 8 to 16.
authorDehao Chen <dehao@google.com>
Fri, 28 Jul 2017 15:00:30 +0000 (15:00 +0000)
committerDehao Chen <dehao@google.com>
Fri, 28 Jul 2017 15:00:30 +0000 (15:00 +0000)
commitab360d6015229d34be1350fd834589e78da50809
tree954a6b6692dabdf7ca2a3b2e1d1b17a714fda30c
parent4ebeb3568a196c5564a9fe654bd59be3d5a0e08b
Change INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE from 8 to 16.

Summary: In the current implementation, the defaul number of values per site tracked by value profiler is 8, which is too small and could introduce inaccuracies to profile. Changing it to 16 will be able to gain more accurate value profiler.

Reviewers: davidxl, tejohnson

Reviewed By: tejohnson

Subscribers: sanjoy, llvm-commits

Differential Revision: https://reviews.llvm.org/D35964

llvm-svn: 309388
compiler-rt/lib/profile/InstrProfilingValue.c