// bottom-up scheduler, then the scoreboard cycles are the inverse of the
// scheduler's cycles.
class Scoreboard {
- uint64_t *Data;
+ unsigned *Data;
// The maximum number of cycles monitored by the Scoreboard. This
// value is determined based on the target itineraries to ensure
}
size_t getDepth() const { return Depth; }
- uint64_t& operator[](size_t idx) const {
+ unsigned& operator[](size_t idx) const {
// Depth is expected to be a power-of-2.
assert(Depth && !(Depth & (Depth - 1)) &&
"Scoreboard was not initialized properly!");
void reset(size_t d = 1) {
if (Data == NULL) {
Depth = d;
- Data = new uint64_t[Depth];
+ Data = new unsigned[Depth];
}
memset(Data, 0, Depth * sizeof(Data[0]));