Getting ready to shift to dlmalloc
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "drivertests.hpp"
|
||||
#include "drivenengine.hpp"
|
||||
#include "world.hpp"
|
||||
#include "eng-malloc.hpp"
|
||||
#include <iomanip>
|
||||
|
||||
static void write_closed_message(Channel *ch, StreamBuffer *out) {
|
||||
@@ -92,7 +93,7 @@ public:
|
||||
virtual void event_update() {
|
||||
double clock = get_clock();
|
||||
if (clock > last_clock_ + 0.5) {
|
||||
int ms = util::hash_of_mallocs();
|
||||
int ms = dlmalloc_hash();
|
||||
stdostream() << std::fixed << std::setprecision(2) << clock << " " << std::hex << ms << " ";
|
||||
count_++;
|
||||
last_clock_ = clock;
|
||||
|
||||
Reference in New Issue
Block a user