gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Variables
CacheStatistics

Variables

Stats::Vector BaseCache::hits [MemCmd::NUM_MEM_CMDS]
 Number of hits per thread for each type of command. More...
 
Stats::Formula BaseCache::demandHits
 Number of hits for demand accesses. More...
 
Stats::Formula BaseCache::overallHits
 Number of hit for all accesses. More...
 
Stats::Vector BaseCache::misses [MemCmd::NUM_MEM_CMDS]
 Number of misses per thread for each type of command. More...
 
Stats::Formula BaseCache::demandMisses
 Number of misses for demand accesses. More...
 
Stats::Formula BaseCache::overallMisses
 Number of misses for all accesses. More...
 
Stats::Vector BaseCache::missLatency [MemCmd::NUM_MEM_CMDS]
 Total number of cycles per thread/command spent waiting for a miss. More...
 
Stats::Formula BaseCache::demandMissLatency
 Total number of cycles spent waiting for demand misses. More...
 
Stats::Formula BaseCache::overallMissLatency
 Total number of cycles spent waiting for all misses. More...
 
Stats::Formula BaseCache::accesses [MemCmd::NUM_MEM_CMDS]
 The number of accesses per command and thread. More...
 
Stats::Formula BaseCache::demandAccesses
 The number of demand accesses. More...
 
Stats::Formula BaseCache::overallAccesses
 The number of overall accesses. More...
 
Stats::Formula BaseCache::missRate [MemCmd::NUM_MEM_CMDS]
 The miss rate per command and thread. More...
 
Stats::Formula BaseCache::demandMissRate
 The miss rate of all demand accesses. More...
 
Stats::Formula BaseCache::overallMissRate
 The miss rate for all accesses. More...
 
Stats::Formula BaseCache::avgMissLatency [MemCmd::NUM_MEM_CMDS]
 The average miss latency per command and thread. More...
 
Stats::Formula BaseCache::demandAvgMissLatency
 The average miss latency for demand misses. More...
 
Stats::Formula BaseCache::overallAvgMissLatency
 The average miss latency for all misses. More...
 
Stats::Vector BaseCache::blocked_cycles
 The total number of cycles blocked for each blocked cause. More...
 
Stats::Vector BaseCache::blocked_causes
 The number of times this cache blocked for each blocked cause. More...
 
Stats::Formula BaseCache::avg_blocked
 The average number of cycles blocked for each blocked cause. More...
 
Stats::Scalar BaseCache::unusedPrefetches
 The number of times a HW-prefetched block is evicted w/o reference. More...
 
Stats::Vector BaseCache::writebacks
 Number of blocks written back per thread. More...
 
Stats::Vector BaseCache::mshr_hits [MemCmd::NUM_MEM_CMDS]
 Number of misses that hit in the MSHRs per command and thread. More...
 
Stats::Formula BaseCache::demandMshrHits
 Demand misses that hit in the MSHRs. More...
 
Stats::Formula BaseCache::overallMshrHits
 Total number of misses that hit in the MSHRs. More...
 
Stats::Vector BaseCache::mshr_misses [MemCmd::NUM_MEM_CMDS]
 Number of misses that miss in the MSHRs, per command and thread. More...
 
Stats::Formula BaseCache::demandMshrMisses
 Demand misses that miss in the MSHRs. More...
 
Stats::Formula BaseCache::overallMshrMisses
 Total number of misses that miss in the MSHRs. More...
 
Stats::Vector BaseCache::mshr_uncacheable [MemCmd::NUM_MEM_CMDS]
 Number of misses that miss in the MSHRs, per command and thread. More...
 
Stats::Formula BaseCache::overallMshrUncacheable
 Total number of misses that miss in the MSHRs. More...
 
Stats::Vector BaseCache::mshr_miss_latency [MemCmd::NUM_MEM_CMDS]
 Total cycle latency of each MSHR miss, per command and thread. More...
 
Stats::Formula BaseCache::demandMshrMissLatency
 Total cycle latency of demand MSHR misses. More...
 
Stats::Formula BaseCache::overallMshrMissLatency
 Total cycle latency of overall MSHR misses. More...
 
Stats::Vector BaseCache::mshr_uncacheable_lat [MemCmd::NUM_MEM_CMDS]
 Total cycle latency of each MSHR miss, per command and thread. More...
 
Stats::Formula BaseCache::overallMshrUncacheableLatency
 Total cycle latency of overall MSHR misses. More...
 
Stats::Formula BaseCache::mshrMissRate [MemCmd::NUM_MEM_CMDS]
 The miss rate in the MSHRs pre command and thread. More...
 
Stats::Formula BaseCache::demandMshrMissRate
 The demand miss rate in the MSHRs. More...
 
Stats::Formula BaseCache::overallMshrMissRate
 The overall miss rate in the MSHRs. More...
 
Stats::Formula BaseCache::avgMshrMissLatency [MemCmd::NUM_MEM_CMDS]
 The average latency of an MSHR miss, per command and thread. More...
 
Stats::Formula BaseCache::demandAvgMshrMissLatency
 The average latency of a demand MSHR miss. More...
 
Stats::Formula BaseCache::overallAvgMshrMissLatency
 The average overall latency of an MSHR miss. More...
 
Stats::Formula BaseCache::avgMshrUncacheableLatency [MemCmd::NUM_MEM_CMDS]
 The average latency of an MSHR miss, per command and thread. More...
 
Stats::Formula BaseCache::overallAvgMshrUncacheableLatency
 The average overall latency of an MSHR miss. More...
 
Stats::Vector BaseTags::replacements
 Number of replacements of valid blocks per thread. More...
 
Stats::Average BaseTags::tagsInUse
 Per cycle average of the number of tags that hold valid data. More...
 
Stats::Scalar BaseTags::totalRefs
 The total number of references to a block before it is replaced. More...
 
Stats::Scalar BaseTags::sampledRefs
 The number of reference counts sampled. More...
 
Stats::Formula BaseTags::avgRefs
 Average number of references to a block before is was replaced. More...
 
Stats::Scalar BaseTags::warmupCycle
 The cycle that the warmup percentage was hit. More...
 
Stats::AverageVector BaseTags::occupancies
 Average occupancy of each requestor using the cache. More...
 
Stats::Formula BaseTags::avgOccs
 Average occ % of each requestor using the cache. More...
 
Stats::Vector BaseTags::occupanciesTaskId
 Occupancy of each context/cpu using the cache. More...
 
Stats::Vector2d BaseTags::ageTaskId
 Occupancy of each context/cpu using the cache. More...
 
Stats::Formula BaseTags::percentOccsTaskId
 Occ % of each context/cpu using the cache. More...
 
Stats::Scalar BaseTags::tagAccesses
 Number of tags consulted over all accesses. More...
 
Stats::Scalar BaseTags::dataAccesses
 Number of data blocks consulted over all accesses. More...
 

Detailed Description

Variable Documentation

Stats::Formula BaseCache::accesses[MemCmd::NUM_MEM_CMDS]

The number of accesses per command and thread.

Definition at line 364 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Vector2d BaseTags::ageTaskId
protected

Occupancy of each context/cpu using the cache.

Definition at line 136 of file base.hh.

Referenced by BaseSetAssoc::computeStats(), and BaseTags::regStats().

Stats::Formula BaseCache::avg_blocked

The average number of cycles blocked for each blocked cause.

Definition at line 390 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::avgMissLatency[MemCmd::NUM_MEM_CMDS]

The average miss latency per command and thread.

Definition at line 378 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::avgMshrMissLatency[MemCmd::NUM_MEM_CMDS]

The average latency of an MSHR miss, per command and thread.

Definition at line 446 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::avgMshrUncacheableLatency[MemCmd::NUM_MEM_CMDS]

The average latency of an MSHR miss, per command and thread.

Definition at line 453 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseTags::avgOccs
protected

Average occ % of each requestor using the cache.

Definition at line 130 of file base.hh.

Referenced by BaseTags::regStats().

Stats::Formula BaseTags::avgRefs
protected

Average number of references to a block before is was replaced.

Todo:
This should change to an average stat once we have them.

Definition at line 121 of file base.hh.

Referenced by BaseTags::regStats().

Stats::Vector BaseCache::blocked_causes

The number of times this cache blocked for each blocked cause.

Definition at line 387 of file base.hh.

Referenced by BaseCache::regStats(), and BaseCache::setBlocked().

Stats::Vector BaseCache::blocked_cycles

The total number of cycles blocked for each blocked cause.

Definition at line 385 of file base.hh.

Referenced by BaseCache::clearBlocked(), and BaseCache::regStats().

Stats::Scalar BaseTags::dataAccesses
protected

Number of data blocks consulted over all accesses.

Definition at line 144 of file base.hh.

Referenced by BaseSetAssoc::accessBlock(), BaseSetAssoc::insertBlock(), and BaseTags::regStats().

Stats::Formula BaseCache::demandAccesses

The number of demand accesses.

Definition at line 366 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandAvgMissLatency

The average miss latency for demand misses.

Definition at line 380 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandAvgMshrMissLatency

The average latency of a demand MSHR miss.

Definition at line 448 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandHits

Number of hits for demand accesses.

Definition at line 341 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMisses

Number of misses for demand accesses.

Definition at line 349 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMissLatency

Total number of cycles spent waiting for demand misses.

Definition at line 359 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMissRate

The miss rate of all demand accesses.

Definition at line 373 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMshrHits

Demand misses that hit in the MSHRs.

Definition at line 401 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMshrMisses

Demand misses that miss in the MSHRs.

Definition at line 408 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMshrMissLatency

Total cycle latency of demand MSHR misses.

Definition at line 420 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::demandMshrMissRate

The demand miss rate in the MSHRs.

Definition at line 441 of file base.hh.

Referenced by BaseCache::regStats().

Number of hits per thread for each type of command.

See Also
Packet::Command

Definition at line 339 of file base.hh.

Referenced by BaseCache::incHitCount(), and BaseCache::regStats().

Stats::Vector BaseCache::misses[MemCmd::NUM_MEM_CMDS]

Number of misses per thread for each type of command.

See Also
Packet::Command

Definition at line 347 of file base.hh.

Referenced by BaseCache::incMissCount(), and BaseCache::regStats().

Stats::Vector BaseCache::missLatency[MemCmd::NUM_MEM_CMDS]

Total number of cycles per thread/command spent waiting for a miss.

Used to calculate the average miss latency.

Definition at line 357 of file base.hh.

Referenced by Cache::recvTimingResp(), and BaseCache::regStats().

Stats::Formula BaseCache::missRate[MemCmd::NUM_MEM_CMDS]

The miss rate per command and thread.

Definition at line 371 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Vector BaseCache::mshr_hits[MemCmd::NUM_MEM_CMDS]

Number of misses that hit in the MSHRs per command and thread.

Definition at line 399 of file base.hh.

Referenced by Cache::recvTimingReq(), and BaseCache::regStats().

Stats::Vector BaseCache::mshr_miss_latency[MemCmd::NUM_MEM_CMDS]

Total cycle latency of each MSHR miss, per command and thread.

Definition at line 418 of file base.hh.

Referenced by Cache::recvTimingResp(), and BaseCache::regStats().

Stats::Vector BaseCache::mshr_misses[MemCmd::NUM_MEM_CMDS]

Number of misses that miss in the MSHRs, per command and thread.

Definition at line 406 of file base.hh.

Referenced by Cache::getNextQueueEntry(), Cache::recvTimingReq(), and BaseCache::regStats().

Stats::Vector BaseCache::mshr_uncacheable[MemCmd::NUM_MEM_CMDS]

Number of misses that miss in the MSHRs, per command and thread.

Definition at line 413 of file base.hh.

Referenced by Cache::recvTimingReq(), and BaseCache::regStats().

Stats::Vector BaseCache::mshr_uncacheable_lat[MemCmd::NUM_MEM_CMDS]

Total cycle latency of each MSHR miss, per command and thread.

Definition at line 425 of file base.hh.

Referenced by Cache::recvTimingResp(), and BaseCache::regStats().

Stats::Formula BaseCache::mshrMissRate[MemCmd::NUM_MEM_CMDS]

The miss rate in the MSHRs pre command and thread.

Definition at line 439 of file base.hh.

Referenced by BaseCache::regStats().

Stats::AverageVector BaseTags::occupancies
protected

Average occupancy of each requestor using the cache.

Definition at line 127 of file base.hh.

Referenced by BaseSetAssoc::insertBlock(), BaseSetAssoc::invalidate(), and BaseTags::regStats().

Stats::Vector BaseTags::occupanciesTaskId
protected

Occupancy of each context/cpu using the cache.

Definition at line 133 of file base.hh.

Referenced by BaseSetAssoc::computeStats(), and BaseTags::regStats().

Stats::Formula BaseCache::overallAccesses

The number of overall accesses.

Definition at line 368 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallAvgMissLatency

The average miss latency for all misses.

Definition at line 382 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallAvgMshrMissLatency

The average overall latency of an MSHR miss.

Definition at line 450 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallAvgMshrUncacheableLatency

The average overall latency of an MSHR miss.

Definition at line 455 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallHits

Number of hit for all accesses.

Definition at line 343 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMisses

Number of misses for all accesses.

Definition at line 351 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMissLatency

Total number of cycles spent waiting for all misses.

Definition at line 361 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMissRate

The miss rate for all accesses.

Definition at line 375 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMshrHits

Total number of misses that hit in the MSHRs.

Definition at line 403 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMshrMisses

Total number of misses that miss in the MSHRs.

Definition at line 410 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMshrMissLatency

Total cycle latency of overall MSHR misses.

Definition at line 422 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMshrMissRate

The overall miss rate in the MSHRs.

Definition at line 443 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMshrUncacheable

Total number of misses that miss in the MSHRs.

Definition at line 415 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseCache::overallMshrUncacheableLatency

Total cycle latency of overall MSHR misses.

Definition at line 427 of file base.hh.

Referenced by BaseCache::regStats().

Stats::Formula BaseTags::percentOccsTaskId
protected

Occ % of each context/cpu using the cache.

Definition at line 139 of file base.hh.

Referenced by BaseTags::regStats().

Stats::Vector BaseTags::replacements
protected

Number of replacements of valid blocks per thread.

Definition at line 103 of file base.hh.

Referenced by FALRU::findVictim(), BaseSetAssoc::insertBlock(), and BaseTags::regStats().

Stats::Scalar BaseTags::sampledRefs
protected

The number of reference counts sampled.

This is different from replacements because we sample all the valid blocks when the simulator exits.

Definition at line 115 of file base.hh.

Referenced by BaseSetAssoc::cleanupRefs(), BaseSetAssoc::insertBlock(), and BaseTags::regStats().

Stats::Scalar BaseTags::tagAccesses
protected

Number of tags consulted over all accesses.

Definition at line 142 of file base.hh.

Referenced by BaseSetAssoc::accessBlock(), BaseSetAssoc::insertBlock(), and BaseTags::regStats().

Stats::Average BaseTags::tagsInUse
protected

Per cycle average of the number of tags that hold valid data.

Definition at line 105 of file base.hh.

Referenced by FALRU::findVictim(), BaseSetAssoc::insertBlock(), BaseSetAssoc::invalidate(), FALRU::invalidate(), and BaseTags::regStats().

Stats::Scalar BaseTags::totalRefs
protected

The total number of references to a block before it is replaced.

Definition at line 108 of file base.hh.

Referenced by BaseSetAssoc::cleanupRefs(), BaseSetAssoc::insertBlock(), and BaseTags::regStats().

Stats::Scalar BaseCache::unusedPrefetches

The number of times a HW-prefetched block is evicted w/o reference.

Definition at line 393 of file base.hh.

Referenced by Cache::allocateBlock(), and BaseCache::regStats().

Stats::Scalar BaseTags::warmupCycle
protected

The cycle that the warmup percentage was hit.

Definition at line 124 of file base.hh.

Referenced by FALRU::findVictim(), BaseSetAssoc::insertBlock(), and BaseTags::regStats().

Stats::Vector BaseCache::writebacks

Generated on Fri Jun 9 2017 13:03:59 for gem5 by doxygen 1.8.6