Lines Matching refs:SampleMode
41 enum class SampleMode : uint8_t { enum
340 PGOMethodInfo(PGOMethodId id, uint32_t count, SampleMode mode, const char *methodName) in PGOMethodInfo()
366 static bool GetSampleMode(std::string content, SampleMode &mode) in GetSampleMode()
369 mode = SampleMode::HOTNESS_MODE; in GetSampleMode()
371 mode = SampleMode::CALL_MODE; in GetSampleMode()
413 void SetSampleMode(SampleMode mode) in SetSampleMode()
415 if (mode_ == SampleMode::HOTNESS_MODE) { in SetSampleMode()
421 SampleMode GetSampleMode() const in GetSampleMode()
430 case SampleMode::HOTNESS_MODE: in GetSampleModeToString()
433 case SampleMode::CALL_MODE: in GetSampleModeToString()
444 if (count_ < threshold && mode_ == SampleMode::CALL_MODE) { in IsFilter()
463 SampleMode mode_ {SampleMode::CALL_MODE};
838 bool AddMethod(Chunk *chunk, Method *jsMethod, SampleMode mode, int32_t incCount);
1034 bool AddMethod(const CString &recordName, Method *jsMethod, SampleMode mode, int32_t incCount);