-
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.
i6686-opcodemix-intervals: Add OpcodeMix Intervals (#6706)
Implements interval support for the opcode_mix analyzer. Adds snapshot support, primarily targeting instruction-count based snapshots. The most common opcodes and opcode categories are printed for each interval. Fixes #6686
- Loading branch information
Showing
4 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
clients/drcachesim/tests/offline-interval-opcode-mix-output.templatex
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,12 @@ | ||
Hello, world! | ||
*Opcode mix tool results: | ||
*[0-9]* : total executed instructions | ||
*[1-9][0-9]* : *[a-z][ a-z]* | ||
*[1-9][0-9]* : *[a-z][ a-z]* | ||
.* | ||
Printing unmerged per-shard interval results: | ||
There were [0-9]* intervals created. | ||
ID:1 ending at instruction 10000 has [0-9]* opcodes and [0-9]* categories. | ||
*\[1\] Opcode: [ a-z]* \([0-9]*\) Count=[0-9]* PKI=[0-9\.]* | ||
*\[2\] Opcode: [ a-z]* \([0-9]*\) Count=[0-9]* PKI=[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