-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#4014 dr$sim phys: Make physaddr_t per-thread
The physaddr_t class is not thread-safe and was previously used racily in the drmemtrace code. We fix that by creating a separate instance per thread. A test with multiple threads is added. Issue: #4014
- Loading branch information
1 parent
0e7f2ea
commit 0117694
Showing
4 changed files
with
87 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
------------------------------------------------------------------- | ||
Performance for solving AX=B Linear Equation using Jacobi method | ||
Running on DynamoRIO | ||
Client version .* | ||
................................................................... | ||
|
||
Matrix Size : 64 | ||
Threads : 4 | ||
|
||
|
||
Started iteration 1 of the computation... | ||
|
||
Finished computing current solution distance in mode 0. | ||
Mode changed to 0. | ||
|
||
Started iteration 2 of the computation... | ||
|
||
Finished computing current solution distance in mode 0. | ||
Mode changed to 0. | ||
|
||
Started iteration 3 of the computation... | ||
|
||
Finished computing current solution distance in mode 0. | ||
Mode changed to 0. | ||
|
||
|
||
The Jacobi Method For AX=B .........DONE | ||
Total Number Of iterations : 3 | ||
................................................................... | ||
---- <application exited with code 0> ---- | ||
Cache simulation results: | ||
Core #0 \(4 thread\(s\)\) | ||
L1I stats: | ||
Hits: *[0-9,\.]* | ||
Misses: *[0-9,\.]* | ||
Compulsory misses: *[0-9,\.]* | ||
Invalidations: *0 | ||
.* Miss rate: *[0-9,\.]*% | ||
L1D stats: | ||
Hits: *[0-9,\.]* | ||
Misses: *[0-9,\.]* | ||
Compulsory misses: *[0-9,\.]* | ||
Invalidations: *0 | ||
.* Miss rate: *[0-9,\.]*% | ||
Core #1 \(3 thread\(s\).* | ||
Core #2 \(3 thread\(s\).* | ||
Core #3 \(3 thread\(s\).* | ||
LL stats: | ||
Hits: *[0-9,\.]* | ||
Misses: *[0-9,\.]* | ||
Compulsory misses: *[0-9,\.]* | ||
Invalidations: *0 | ||
.* Local miss rate: *[0-9,.]*% | ||
Child hits: *[0-9,\.]* | ||
Total miss rate: 0[\.,]..% |
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