Lines Matching defs:sample

76 enum ProfileKinds { instr, sample, memory };
108 clEnumVal(sample, "Sample profile")));
160 "GCC encoding (only meaningful for -sample)")));
187 "sample-merge-cold-context", cl::init(false), cl::Hidden,
190 "Merge context sample profiles whose count is below cold threshold"));
192 "sample-trim-cold-context", cl::init(false), cl::Hidden,
195 "Trim context sample profiles whose count is below cold threshold"));
197 "sample-frame-depth-for-cold-context", cl::init(1),
211 "supplement-instr-with-sample", cl::init(""), cl::Hidden,
213 cl::desc("Supplement an instr profile with sample profile, to correct "
214 "the profile unrepresentativeness issue. The sample "
221 "sample profile, if the ratio of the number of zero counters "
230 "be adjusted based on sample profile."));
238 // result in sample bias.
279 "convert-sample-profile-layout",
292 "(only meaningful for -sample)"));
331 cl::desc("For sample profiles, list function names (with calling context "
368 cl::desc("Show sample profile data in the JSON format "
405 clEnumVal(sample, "Sample profile"),
427 cl::desc("Show the information of each section in the sample profile. "
428 "The flag is only usable when the sample profile is in "
495 Hint = "Perhaps you forgot to use the --sample or --memory option?";
1096 /// Adjust the instr profile in \p WC based on the sample profile in
1148 // If sample profile and instrumented profile do not agree on symbol
1156 // If sample profile uses -funique-internal-linkage-symbols,
1295 // Compute cold thresholds for instr profile and sample profile.
1319 // Find hot/warm functions in sample profile which is cold in instr profile
1348 /// The main function to supplement instr profile with sample profile.
1350 /// sample profile. \p OutputFilename specifies the output profile name.
1373 // Read sample profile.
1701 "-supplement-instr-with-sample can only work with -instr. ");
1866 // Return the sum of line/block samples, the max line/block sample, and the
1890 // We intentionally compare the maximum sample count in a function with the
1906 /// Detect 0-sample input profile and report to output stream. This interface
1940 /// max sample counts of each function in BaseStats and TestStats for later
1986 /// Return a similarity of two line/block sample counters in the same
1989 /// For an offsets i, given the sample count at i in base profile BB(i),
1990 /// the sample count at i in test profile BT(i), the sum of sample counts
1991 /// in this function in base profile SB, and the sum of sample counts in
2007 /// Difference for two sample units in a matched function according to the
2021 /// This function updates sample overlap statistics of an overlap function in
2065 OS << "Sum of sample counts for profile " << BaseFilename << " is 0.\n";
2069 OS << "Sum of sample counts for profile " << TestFilename << " is 0.\n";
2183 // FunctionSamples::getBodySamples() returns a map of sample counters ordered
2558 OS << " Whole program sample overlap: "
3001 << "sample profile in extbinary format and is "
3117 std::vector<std::string> ColumnTitle{"Total sample (%)", "Max sample",
3118 "Entry sample", "Function name"};
3121 std::string("max sample >= ") + std::to_string(MinCountThreshold);
3143 exitWithError("YAML output is not supported for sample profiles");
3277 if (ShowProfileKind == sample)