ruby: remove extra whitespace and correct misspelled words

This commit is contained in:
Brandon Potter 2015-07-10 16:05:23 -05:00
parent a74c446e7d
commit 9eda4bdc5a
18 changed files with 52 additions and 51 deletions

View file

@ -180,7 +180,7 @@ class MessageBuffer
Cycles m_time_last_time_size_checked; Cycles m_time_last_time_size_checked;
unsigned int m_size_last_time_size_checked; unsigned int m_size_last_time_size_checked;
// variables used so enqueues appear to happen imediately, while // variables used so enqueues appear to happen immediately, while
// pop happen the next cycle // pop happen the next cycle
Cycles m_time_last_time_enqueue; Cycles m_time_last_time_enqueue;
Tick m_time_last_time_pop; Tick m_time_last_time_pop;

View file

@ -61,7 +61,8 @@ class BankedArray
unsigned int mapIndexToBank(int64 idx); unsigned int mapIndexToBank(int64 idx);
public: public:
BankedArray(unsigned int banks, Cycles accessLatency, unsigned int startIndexBit); BankedArray(unsigned int banks, Cycles accessLatency,
unsigned int startIndexBit);
// Note: We try the access based on the cache index, not the address // Note: We try the access based on the cache index, not the address
// This is so we don't get aliasing on blocks being replaced // This is so we don't get aliasing on blocks being replaced

View file

@ -189,7 +189,7 @@ RubySystem::serializeOld(CheckpointOut &cp)
// Restore curTick // Restore curTick
setCurTick(curtick_original); setCurTick(curtick_original);
// Aggergate the trace entries together into a single array // Aggregate the trace entries together into a single array
uint8_t *raw_data = new uint8_t[4096]; uint8_t *raw_data = new uint8_t[4096];
uint64 cache_trace_size = m_cache_recorder->aggregateRecords(&raw_data, uint64 cache_trace_size = m_cache_recorder->aggregateRecords(&raw_data,
4096); 4096);