GEM5 benchmark cycle counting

This commit is contained in:
Ciro Santilli
2018-02-23 12:09:56 +00:00
parent 75fd05c1c8
commit 52d07614c3
2 changed files with 112 additions and 52 deletions

2
gem5-cycles Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
grep numCycles m5out/stats.txt | awk '{t0 = $2; getline; print $2 - t0; exit;}'