22 #include <unordered_map> 25 #include "absl/strings/str_cat.h" 42 void AddInterval(
const Interval& interval);
44 void ReorgIntervals();
45 bool MessageFallIntoRange(
const uint64_t msg_time);
47 void PrintIntervals()
const;
50 const std::string& task_id) {
51 interval_event_log_file_path_ = absl::StrCat(path,
"_", task_id);
53 void LogIntervalEvent(
const std::string& name,
const std::string& description,
54 const uint64_t msg_time,
const uint64_t backward_time,
55 const uint64_t forward_time)
const;
58 std::vector<Interval> pool_;
59 std::vector<Interval>::iterator pool_iter_;
60 std::set<uint64_t> accu_end_values_;
61 std::string interval_event_log_file_path_;
uint64_t end_time
Definition: interval_pool.h:33
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
void SetIntervalEventLogFilePath(const std::string &path, const std::string &task_id)
Definition: interval_pool.h:49
#define DECLARE_SINGLETON(classname)
Definition: macros.h:52
uint64_t begin_time
Definition: interval_pool.h:32
The intervals collection class that organizes the intervals.
Definition: interval_pool.h:40
Definition: interval_pool.h:31