You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First we build it with <<m5ops-instructions>> enabled, and then we extract the stats:
10217
+
* on host through timers + link:https://stackoverflow.com/questions/51952471/why-do-i-get-a-constant-instead-of-logarithmic-curve-for-an-insert-time-benchmar/51953081#51953081[granule]
10218
+
* gem5 with <<m5ops-instructions,dumpstats>>, which can get more precise results with `granule == 1`
10219
+
10220
+
It has been used to answer:
10221
+
10222
+
* BST vs heap: https://stackoverflow.com/questions/6147243/heap-vs-binary-search-tree-bst/29548834#29548834
To prevent the stats file from becoming humongous.
11189
+
11139
11190
==== config.ini
11140
11191
11141
11192
The `config.ini` file, contains a very good high level description of the system:
@@ -12974,7 +13025,7 @@ RDTSC stores its output to EDX:EAX, even in 64-bit mode, top bits are zeroed out
12974
13025
12975
13026
TODO: review this section, make a more controlled userland experiment with <<m5ops>> instrumentation.
12976
13027
12977
-
Let's have some fun and try to correlate the gem5 <<stats-txt>> `system.cpu.numCycles` cycle count with the link:https://en.wikipedia.org/wiki/Time_Stamp_Counter[x86 RDTSC instruction] that is supposed to do the same thing:
13028
+
Let's have some fun and try to correlate the gem5 <<gem5-stats-txt>> `system.cpu.numCycles` cycle count with the link:https://en.wikipedia.org/wiki/Time_Stamp_Counter[x86 RDTSC instruction] that is supposed to do the same thing:
0 commit comments