Searched refs:lastTimeMap_ (Results 1 – 2 of 2) sorted by relevance
39 if (lastTimeMap_.find(faultType) != lastTimeMap_.end()) { in IsAllowToReport()43 if (lastTimeMap_[faultType] == 0 || in IsAllowToReport()44 (currentTime_ > lastTimeMap_[faultType] && in IsAllowToReport()45 currentTime_ - lastTimeMap_[faultType] > MINIMUM_FAULT_REPORT_INTERVAL)) { in IsAllowToReport()46 lastTimeMap_[faultType] = currentTime_; in IsAllowToReport()58 lastTimeMap_[faultType] = 0; in CloudFaultReportStatus()
144 std::unordered_map<FaultType, int64_t> lastTimeMap_; variable