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

@@ -16,8 +16,8 @@ bool SchedEntry::operator < (const SchedEntry &other) const {
return false;
}
std::string SchedEntry::debug_string() const {
std::ostringstream oss;
eng::string SchedEntry::debug_string() const {
eng::ostringstream oss;
oss << "(" << clock_ << "," << thread_id_ << "," << place_id_ << ")";
return oss.str();
}
@@ -37,8 +37,8 @@ SchedEntry Schedule::pop() {
return result;
}
std::string Schedule::debug_string() {
std::ostringstream oss;
eng::string Schedule::debug_string() {
eng::ostringstream oss;
for (const SchedEntry &se : schedule_) {
oss << se.debug_string();
}