Lines Matching refs:stats
49 #include "sim/stats.hh"
58 stats(this, params)
285 // Update the bandwidth stats on the request
326 // Update the bandwidth stats based on responses for reads
354 stats.updateReqStats(req_pkt_info, true, expects_response);
356 stats.updateRespStats(req_pkt_info, delay, true);
388 if (expects_response && !stats.disableLatencyHists) {
396 if (!successful && expects_response && !stats.disableLatencyHists) {
407 stats.updateReqStats(pkt_info, false, expects_response);
426 if (!stats.disableLatencyHists) {
438 if (!stats.disableLatencyHists) {
456 stats.updateRespStats(pkt_info, latency, false);
520 // the periodic stats update runs on the granularity of sample
522 // external resets and dumps of the stats (through schedStatEvent)
523 // causing the stats themselves to capture less than a sample
526 // only capture if we have not reset the stats during the last
529 if (!stats.disableTransactionHists) {
530 stats.readTransHist.sample(stats.readTrans);
531 stats.writeTransHist.sample(stats.writeTrans);
534 if (!stats.disableBandwidthHists) {
535 stats.readBandwidthHist.sample(stats.readBytes / samplePeriod);
536 stats.writeBandwidthHist.sample(stats.writtenBytes / samplePeriod);
539 if (!stats.disableOutstandingHists) {
540 stats.outstandingReadsHist.sample(stats.outstandingReadReqs);
541 stats.outstandingWritesHist.sample(stats.outstandingWriteReqs);
546 stats.readTrans = 0;
547 stats.writeTrans = 0;
549 stats.readBytes = 0;
550 stats.writtenBytes = 0;