Lines Matching defs:timestamp

92 void CommandAnalysis::clearStats(const int64_t timestamp)
124 // reset count references to timestamp so that they are moved
126 std::fill(first_act_cycle_banks.begin(), first_act_cycle_banks.end(), timestamp);
127 first_act_cycle = timestamp;
129 pdn_cycle = timestamp;
130 sref_cycle_window = timestamp;
132 end_act_op = timestamp;
133 end_read_op = timestamp;
134 end_write_op = timestamp;
139 if (timestamp == 0) {
147 last_pre_cycle = max(timestamp,last_pre_cycle);
149 latest_pre_cycle = max(timestamp, latest_pre_cycle);
151 if (latest_act_cycle < timestamp)
165 // Reads through the trace file, identifies the timestamp, command and bank
168 // issued command timestamp, when the auto-precharge would kick in
170 void CommandAnalysis::getCommands(std::vector<MemCommand>& list, bool lastupdate, int64_t timestamp)
191 if (!lastupdate && timestamp > 0) {
192 if(cmd.getTimeInt64() > timestamp)
216 // for each command identify timestamp, type and bank
222 // Command Issue timestamp in clock cycles (cc)
223 int64_t timestamp = cmd.getTimeInt64();
226 handleAct(bank, timestamp);
228 handleRd(bank, timestamp);
230 handleWr(bank, timestamp);
232 handleRef(bank, timestamp);
234 handleRefB(bank, timestamp);
236 handlePre(bank, timestamp);
238 handlePreA(bank, timestamp);
240 handlePdnFAct(bank, timestamp);
242 handlePdnSAct(bank, timestamp);
244 handlePdnFPre(bank, timestamp);
246 handlePdnSPre(bank, timestamp);
248 handlePupAct(timestamp);
250 handlePupPre(timestamp);
252 handleSREn(bank, timestamp);
254 handleSREx(bank, timestamp);
256 handleNopEnd(timestamp);
258 printWarning("Unknown command given, exiting.", type, timestamp, bank);
266 int64_t latest_act_cycle, int64_t timestamp)
280 idlecycles_act += max(zero, timestamp - max(max(end_read_op, end_write_op),
285 void CommandAnalysis::idle_pre_update(int64_t timestamp, int64_t latest_pre_cycle)
288 idlecycles_pre += max(zero, timestamp - latest_pre_cycle -
291 idlecycles_pre += max(zero, timestamp - latest_pre_cycle);