Lines Matching full:timestamps
40 * This class keeps track of the timestamps at which the shutdown
58 * Loads any saved timestamps
66 * @brief Adds an entry to the timestamps map and persists it.
76 auto result = timestamps.emplace(key, timestamp); in add()
90 size_t removed = timestamps.erase(key); in erase()
102 timestamps.erase(entry); in erase()
111 if (!timestamps.empty()) in clear()
113 timestamps.clear(); in clear()
129 auto size = timestamps.size(); in prune()
144 auto it = timestamps.begin(); in prune()
146 while (it != timestamps.end()) in prune()
150 it = timestamps.erase(it); in prune()
158 if (size != timestamps.size()) in prune()
165 * @brief Returns the timestamps map
169 return timestamps; in get()
173 * @brief Saves the timestamps map in the filesystem using cereal.
191 for (const auto& [key, time] : timestamps) in save()
209 * @brief Loads the saved timestamps from the filesystem.
235 timestamps.emplace( in load()
254 std::map<AlarmKey, uint64_t> timestamps; member in sensor::monitor::AlarmTimestamps