Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e2aada53
Commit
e2aada53
authored
Feb 24, 2000
by
simonmar
Browse files
[project @ 2000-02-24 17:45:53 by simonmar]
update for format changes in cacheprof.out.summary.
parent
589efbb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
glafp-utils/runstdtest/runstdtest.prl
View file @
e2aada53
...
...
@@ -436,8 +436,13 @@ sub process_stats_file {
sub process_cacheprof_files {
open(STATS, "< $CacheProfStats") || die("Can't open $CacheProfStats\n");
# the format of the info in this file is:
# OTHER(intrs,reads,writes,read-misses,write-misses)
# where read-misses and write-misses will both be zero if we're
# just counting instructions.
while (<STATS>) {
/OTHER\(\s*([0-9]+),\s*([0-9]+),\s*([0-9]+)\)/ && do {
/OTHER\(\s*([0-9]+),\s*([0-9]+),\s*([0-9]+)
,\s*([0-9]+),\s*([0-9]+)
\)/ && do {
$TotInstrs = $1;
$TotReads = $2;
$TotWrites = $3;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment