Skip to content

Commit

Permalink
Add in_sequence check
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav92003 committed Feb 14, 2025
1 parent 166c816 commit 94fea86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/drcachesim/scheduler/scheduler_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1478,14 +1478,15 @@ scheduler_impl_tmpl_t<RecordType, ReaderType>::read_kernel_sequences(
error_string_ += sequence_type + " marker values mismatched";
return sched_type_t::STATUS_ERROR_INVALID_PARAMETER;
}
in_sequence = false;
VPRINT(this, 1, "Read %zu kernel %s records for key %d\n",
sequence[sequence_key].size(), sequence_type.c_str(),
sequence_key);
}
in_sequence = false;
}
++(*reader);
}
assert(!in_sequence);
return sched_type_t::STATUS_SUCCESS;
}

Expand Down

0 comments on commit 94fea86

Please sign in to comment.