add XCollie

Signed-off-by: lvshuai <lvshuai11@h-partners.com>
Change-Id: Ib993c8ed388f71571b9ab26b0af32bd4d606245b
This commit is contained in:
lvshuai 2024-06-24 11:23:11 +00:00
parent 71412971ac
commit 58fd5f0d37

View File

@ -28,7 +28,7 @@ XCollieHelper::XCollieHelper(const std::string &name, unsigned int timeout)
timeout_(timeout)
{
id_ = HiviewDFX::XCollie::GetInstance().SetTimer(name_, timeout_, nullptr, nullptr, HiviewDFX::XCOLLIE_FLAG_DEFAULT);
IAM_LOGI("start XCollie, name:%{public}s, timeout:%{public}u, flag:%{public}u", name_.c_str(), timeout_, HiviewDFX::XCOLLIE_FLAG_DEFAULT);
IAM_LOGI("start XCollie, name:%{public}s, timeout:%{public}u", name_.c_str(), timeout_);
}
XCollieHelper::~XCollieHelper()