Migrated engine to using dlmalloc through eng::

This commit is contained in:
2022-02-24 02:17:41 -05:00
parent acc00289fb
commit f467944095
61 changed files with 631 additions and 590 deletions

View File

@@ -27,18 +27,18 @@ public:
bool operator < (const SchedEntry &other) const;
std::string debug_string() const;
eng::string debug_string() const;
};
class Schedule {
private:
std::set<SchedEntry> schedule_;
eng::set<SchedEntry> schedule_;
public:
void add(int64_t clk, int64_t thid, int64_t plid);
bool ready(int64_t clk) const;
bool empty() const { return schedule_.empty(); }
SchedEntry pop();
std::string debug_string();
eng::string debug_string();
void serialize(StreamBuffer *sb);
void deserialize(StreamBuffer *sb);