reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Analysis/ProfileSummaryInfoTest.cpp
  134   EXPECT_TRUE(PSI.hasProfileSummary());
  135   EXPECT_TRUE(PSI.isHotCount(400));
  136   EXPECT_TRUE(PSI.isColdCount(2));
  137   EXPECT_FALSE(PSI.isColdCount(100));
  138   EXPECT_FALSE(PSI.isHotCount(100));
  140   EXPECT_TRUE(PSI.isHotCountNthPercentile(990000, 400));
  141   EXPECT_FALSE(PSI.isHotCountNthPercentile(990000, 100));
  142   EXPECT_FALSE(PSI.isHotCountNthPercentile(990000, 2));
  144   EXPECT_TRUE(PSI.isHotCountNthPercentile(999999, 400));
  145   EXPECT_TRUE(PSI.isHotCountNthPercentile(999999, 100));
  146   EXPECT_FALSE(PSI.isHotCountNthPercentile(999999, 2));
  148   EXPECT_FALSE(PSI.isHotCountNthPercentile(10000, 400));
  149   EXPECT_FALSE(PSI.isHotCountNthPercentile(10000, 100));
  150   EXPECT_FALSE(PSI.isHotCountNthPercentile(10000, 2));
  152   EXPECT_TRUE(PSI.isFunctionEntryHot(F));
  153   EXPECT_FALSE(PSI.isFunctionEntryHot(G));
  154   EXPECT_FALSE(PSI.isFunctionEntryHot(H));