remove file check

This commit is contained in:
alonamid 2019-12-18 14:16:39 -08:00
parent 08ecd9a616
commit 52a0374fa2
1 changed files with 4 additions and 8 deletions

View File

@ -159,7 +159,6 @@ void tracerv_t::tick() {
if (outfull) {
// TODO. as opt can mmap file and just load directly into it.
pull(dma_addr, (char*)OUTBUF, QUEUE_DEPTH * 64);
if (this->tracefiles[0]) {
if (this->human_readable || this->test_output) {
for (int i = 0; i < QUEUE_DEPTH * 8; i+=8) {
if (this->test_output) {
@ -190,7 +189,6 @@ void tracerv_t::tick() {
}
}
}
}
cur_cycle += QUEUE_DEPTH;
}
}
@ -216,7 +214,6 @@ void tracerv_t::flush() {
// TODO. as opt can mmap file and just load directly into it.
pull(dma_addr, (char*)OUTBUF, beats_available * 64);
if (this->tracefiles[0]) {
if (this->human_readable || this->test_output) {
for (int i = 0; i < beats_available * 8; i+=8) {
@ -248,7 +245,6 @@ void tracerv_t::flush() {
}
}
}
}
cur_cycle += beats_available;
}
#endif // TRACERVBRIDGEMODULE_struct_guard