/gem5/src/unittest/ |
H A D | stattestmain.py | 3 import m5.stats 8 m5.stats.initSimStats() 9 m5.stats.addStatVisitor("cout") 11 # We're done registering statistics. Enable the stats package now. 12 m5.stats.enable() 14 # Reset to put the stats in a consistent state. 15 m5.stats.reset() 19 m5.stats.dump()
|
/gem5/src/arch/alpha/ |
H A D | idle_event.cc | 44 auto *stats = dynamic_cast<AlphaISA::Kernel::Statistics *>( local 46 assert(stats); 47 stats->setIdleProcess(val, tc);
|
H A D | ev5.cc | 222 auto *stats = dynamic_cast<AlphaISA::Kernel::Statistics *>( local 224 assert(stats || !tc->getKernelStats()); 273 if (stats) 274 stats->context(ipr[idx], val, tc); 297 if (stats) 298 stats->swpipl(ipr[idx]); 303 if (stats) 304 stats->mode(Kernel::user, tc); 306 if (stats) 307 stats [all...] |
/gem5/util/cxx_config/ |
H A D | stats.cc | 43 * C++-only configuration stats handling example 49 #include "stats.hh" 56 std::list<Stats::Info *> stats = Stats::statsList(); local 59 for (auto i = stats.begin(); i != stats.end(); ++i) 69 std::list<Stats::Info *> stats = Stats::statsList(); local 74 for (auto i = stats.begin(); i != stats.end(); ++i) { 109 std::list<Stats::Info *> stats = Stats::statsList(); local 111 for (auto i = stats [all...] |
H A D | Makefile | 56 stats.o: stats.cc stats.hh 57 main.o: main.cc stats.hh 59 gem5.$(VARIANT).cxx: main.o stats.o
|
/gem5/ext/pybind11/tests/ |
H A D | test_smart_ptr.py | 150 stats = ConstructorStats.get(m.A) 151 assert stats.alive() == 2 154 assert stats.alive() == 2 161 assert stats.alive() == 3 166 assert stats.alive() == 3 171 assert stats.alive() == 3 176 assert stats.alive() == 0 181 stats = ConstructorStats.get(m.B) 182 assert stats.alive() == 2 185 assert stats [all...] |
/gem5/util/systemc/gem5_within_systemc/ |
H A D | stats.cc | 45 * C++-only configuration stats handling example 52 #include "base/stats/text.hh" 53 #include "stats.hh" 60 std::list<Stats::Info *> stats = Stats::statsList(); local 63 for (auto i = stats.begin(); i != stats.end(); ++i){ 83 std::list<Stats::Info *> stats = Stats::statsList(); local 90 for (auto i = stats.begin(); i != stats.end(); ++i) { 144 std::list<Stats::Info *> stats local [all...] |
H A D | Makefile | 60 stats.o: stats.cc stats.hh 61 main.o: main.cc sc_logger.hh sc_module.hh stats.hh 63 gem5.$(VARIANT).sc: main.o stats.o \
|
/gem5/src/python/m5/ |
H A D | __init__.py | 53 from . import stats
|
H A D | simulate.py | 52 from _m5.stats import updateEvents as updateStatEvents 54 from . import stats 117 stats.initSimStats() 127 stats._bindStatHierarchy(root) 142 # We're done registering statistics. Enable the stats package now. 143 stats.enable() 168 # We want to dump stats last. 169 atexit.register(stats.dump) 174 # Reset to put the stats in a consistent state. 175 stats [all...] |
/gem5/src/mem/ |
H A D | comm_monitor.cc | 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 [all...] |
/gem5/src/python/m5/stats/ |
H A D | __init__.py | 48 import _m5.stats 54 from _m5.stats import schedStatEvent as schedEvent 55 from _m5.stats import periodicStatDump 84 wrapped_f(urlparse.urlsplit("text://stats.txt?desc=False")) -> 85 f("stats.txt", desc=False) 138 """Output stats in text format. 148 text://stats.txt?desc=False 152 return _m5.stats.initText(fn, desc) 154 @_url_factory([ "h5", ], enable=hasattr(_m5.stats, "initHDF5")) 156 """Output stats i [all...] |
/gem5/src/base/stats/ |
H A D | group.cc | 40 #include "base/stats/group.hh" 44 #include "base/stats/info.hh" 86 for (auto &s : stats) 99 stats.push_back(info); 127 return stats;
|
H A D | group.hh | 81 * an object. They can also be used to conveniently group stats into 117 * This callback is typically used for complex stats (e.g., 126 * Callback to reset stats. 142 * Get all stats associated with this object. 157 * Merge the contents (stats & children) of a block to this block. 170 std::vector<Info *> stats; member in class:Stats::Group
|
/gem5/src/cpu/testers/traffic_gen/ |
H A D | base.cc | 60 #include "sim/stats.hh" 83 stats(this), 199 stats.numPackets++; 210 ++stats.numSuppressed; 211 if (!(static_cast<int>(stats.numSuppressed.value()) % 10000)) 213 name(), stats.numSuppressed.value()); 292 stats.numRetries++; 312 stats.retryTicks += delay; 474 ++stats.totalWrites; 475 stats [all...] |
/gem5/util/plot_dram/ |
H A D | dram_lat_mem_rd_plot.py | 53 # stats.txt to get the relevant data points. 61 stats = open(sys.argv[1] + '/stats.txt', 'r') 63 print "Failed to open ", sys.argv[1] + '/stats.txt', " for reading" 93 # Now parse the stats 96 for line in stats: 100 stats.close() 102 # The stats also contain the warming, so filter the latency stats
|
H A D | dram_sweep_plot.py | 53 # then parse the stats and plot the 3D surface corresponding to the 73 stats = open(sys.argv[2] + '/stats.txt', 'r') 75 print "Failed to open ", sys.argv[2] + '/stats.txt', " for reading" 103 # Now parse the stats 108 for line in stats: 120 stats.close() 157 print "Unexpected number of data points in stats output"
|
/gem5/src/dev/arm/ |
H A D | flash_device.cc | 201 /*stats*/ 202 stats.readAccess.sample(logic_page_addr); 203 stats.readLatency.sample(time[plane_address]); 216 /*stats*/ 217 stats.writeAccess.sample(logic_page_addr); 218 stats.writeLatency.sample(time[plane_address]); 234 stats.fileSystemAccess.sample(address); 391 /*stats*/ 392 ++stats.totalGCActivations; 481 // Register the stats [all...] |
H A D | ufs_device.cc | 783 // Register the stats 785 stats.currentSCSIQueue 789 stats.currentReadSSDQueue 793 stats.currentWriteSSDQueue 799 stats.totalReadSSD 804 stats.totalWrittenSSD 809 stats.totalReadDiskTransactions 813 stats.totalWriteDiskTransactions 817 stats.totalReadUFSTransactions 821 stats [all...] |
/gem5/util/streamline/ |
H A D | m5stats2streamline.py | 49 # <stat_config.ini>: .ini file that describes which stats to be included 55 # stats.txt[.gz], and system.tasks.txt.) 86 help=".ini file that describes which stats to be included \ 93 stats.txt[.gz], and system.tasks.txt.)") 784 # Global stats object that contains the list of stats entries 798 # Union of all stats to accelerate parsing speed 814 print "Parsing stats config.ini file..." 825 stats = Stats() 833 stats 1226 stats = registerStats(stat_config_file) variable [all...] |
/gem5/util/stats/ |
H A D | db.py | 231 self.query('select * from stats') 301 stats = [ stat.name for stat in self.allStats ] 302 stats.sort(statcmp) 303 for stat in stats: 320 stats = [ stat.name for stat in self.allStats ] 321 stats.sort(statcmp) 322 for stat in stats: 327 def getStat(self, stats): 328 if type(stats) is not list: 329 stats [all...] |
H A D | stats.py | 45 stability <pairnum> <stats> Calculated statistical info about stats 47 stats [regex] List all stats (only matching regex) 133 if command == 'stats': 168 stats = source.getStat(args[1]) 177 #loop through all the stats selected 178 for stat in stats: 262 stats = source.getStat(args[0]) 264 stats [all...] |
/gem5/configs/example/arm/ |
H A D | fs_power.py | 129 # Dumping stats periodically 130 m5.stats.periodicStatDump(m5.ticks.fromSeconds(0.1E-3))
|
/gem5/src/cpu/minor/ |
H A D | cpu.hh | 50 #include "cpu/minor/stats.hh" 136 Minor::MinorStats stats; member in class:MinorCPU
|
/gem5/tests/testing/ |
H A D | units.py | 149 "--stats-file", "text://stats.txt?desc=False", 277 stats = "stats.txt" 281 self.ref_file(stats), self.out_file(stats),
|