-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#1729 offline traces: fix initial tid entry errors (#2461)
Fixes two issues with offline traces (#1729): first, changes the reader to not assume a separate tid header right after the initial tid,pid header, as offline traces (as opposed to online) do not contain it. Second, changes raw2trace to not emit a superfluous tid entry of 0 just prior to the real initial tid entry for each thread. Adds asserts to catch related errors in the future in the test suite. The extra checks failed on the multiproc test so we fix that here for online by adding a fork event handler that sends a new header to the simulator. We partially solve #2384 by creating a new offline dir and files but more work is needed to merge the final traces in the added test here: that's left for #2384.
- Loading branch information
1 parent
e25b54d
commit e5dee0d
Showing
5 changed files
with
110 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
all done | ||
Cache simulation results: | ||
Core #0 \(1 thread\(s\)\) | ||
L1I stats: | ||
Hits: *[0-9\.,]* | ||
Misses: *[0-9,\.]* | ||
.* Miss rate: *[0-9]*[,\.]..% | ||
L1D stats: | ||
Hits: *[0-9\.,]* | ||
Misses: *[0-9\.,]* | ||
.* Miss rate: *[0-9]*[,\.]..% | ||
Core #1 \(0 thread\(s\)\) | ||
Core #2 \(0 thread\(s\)\) | ||
Core #3 \(0 thread\(s\)\) | ||
LL stats: | ||
Hits: *[0-9\.,]* | ||
Misses: *[0-9\.,]* | ||
.* Local miss rate: *[0-9]*[,\.]..% | ||
Child hits: *[0-9\.,]* | ||
Total miss rate: *[0-9]*[,\.]..% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters