Home
last modified time | relevance | path

Searched refs:threadLocalRules_ (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hichecker/frameworks/native/
Dhichecker.cpp41 thread_local uint64_t HiChecker::threadLocalRules_; member in OHOS::HiviewDFX::HiChecker
54 threadLocalRules_ |= (Rule::ALL_THREAD_RULES | Rule::ALL_CAUTION_RULES) & rule; in AddRule()
67 threadLocalRules_ ^= threadLocalRules_ & rule; in RemoveRule()
74 return (threadLocalRules_ | processRules_); in GetRule()
83 return rule == (rule & (threadLocalRules_ | processRules_)); in Contains()
88 if ((threadLocalRules_ & Rule::RULE_THREAD_CHECK_SLOW_PROCESS) == 0) { in NotifySlowProcess()
120 if ((threadLocalRules_ & rule) == 0 && (processRules_ & rule) == 0) { in NotifyCaution()
149 if ((threadLocalRules_ & triggerRule)) { in HandleCaution()
150 CautionDetail cautionDetail(caution, threadLocalRules_); in HandleCaution()
/base/hiviewdfx/hichecker/interfaces/native/innerkits/include/
Dhichecker.h84 static thread_local uint64_t threadLocalRules_; variable