diff options
| author | Easwaran Raman <eraman@google.com> | 2016-03-28 23:14:29 +0000 |
|---|---|---|
| committer | Easwaran Raman <eraman@google.com> | 2016-03-28 23:14:29 +0000 |
| commit | 6f4903d985e7829fa6208a469f78086d2e6ab280 (patch) | |
| tree | 9f4804757fd8174802122912a3a7e7353d6202af /llvm/unittests/ProfileData/SampleProfTest.cpp | |
| parent | d133f6acf14ab84e364baa55ebe3aafecd0451d0 (diff) | |
| download | llvm-6f4903d985e7829fa6208a469f78086d2e6ab280.zip llvm-6f4903d985e7829fa6208a469f78086d2e6ab280.tar.gz llvm-6f4903d985e7829fa6208a469f78086d2e6ab280.tar.bz2 | |
Sample profile summary cleanup
Replace references to MaxHeadSamples with MaxFunctionCount
Differential Revision: http://reviews.llvm.org/D18522
llvm-svn: 264686
Diffstat (limited to 'llvm/unittests/ProfileData/SampleProfTest.cpp')
| -rw-r--r-- | llvm/unittests/ProfileData/SampleProfTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/SampleProfTest.cpp b/llvm/unittests/ProfileData/SampleProfTest.cpp index b2e05c3..12533fa6 100644 --- a/llvm/unittests/ProfileData/SampleProfTest.cpp +++ b/llvm/unittests/ProfileData/SampleProfTest.cpp @@ -100,7 +100,7 @@ struct SampleProfTest : ::testing::Test { ASSERT_EQ(123603u, Summary.getTotalSamples()); ASSERT_EQ(6u, Summary.getNumLinesWithSamples()); ASSERT_EQ(2u, Summary.getNumFunctions()); - ASSERT_EQ(1437u, Summary.getMaxHeadSamples()); + ASSERT_EQ(1437u, Summary.getMaxFunctionCount()); ASSERT_EQ(60351u, Summary.getMaxSamplesPerLine()); uint32_t Cutoff = 800000; |
