Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
5ebf83e0
Commit
5ebf83e0
authored
Mar 29, 2017
by
Simon Marlow
Committed by
Simon Marlow
Mar 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scc001
parent
01e12987
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
testsuite/tests/profiling/should_run/all.T
testsuite/tests/profiling/should_run/all.T
+1
-1
testsuite/tests/profiling/should_run/scc001.prof.sample
testsuite/tests/profiling/should_run/scc001.prof.sample
+21
-21
No files found.
testsuite/tests/profiling/should_run/all.T
View file @
5ebf83e0
...
...
@@ -38,7 +38,7 @@ test('T3001-2', [only_ways(['prof_hb']), extra_ways(['prof_hb'])],
# As with ioprof001, the unoptimised profile is different but
# not badly wrong (CAF attribution is different).
test
('
scc001
',
[]
,
compile_and_run
,
test
('
scc001
',
expect_broken_for_10037
,
compile_and_run
,
['
-fno-state-hack -fno-full-laziness
'])
# Note [consistent stacks]
test
('
scc002
',
[]
,
compile_and_run
,
[''])
...
...
testsuite/tests/profiling/should_run/scc001.prof.sample
View file @
5ebf83e0
Sat Jun 4 11:59 2016
Time and Allocation Profiling Report (Final)
Wed Mar 29 06:17 2017
Time and Allocation Profiling Report (Final)
scc001 +RTS -hc -p -RTS
total time = 0.00 secs (0 ticks @ 1000 us, 1 processor)
total alloc = 50,8
88
bytes (excludes profiling overheads)
total alloc = 50,8
56
bytes (excludes profiling overheads)
COST CENTRE MODULE SRC %time %alloc
MAIN MAIN <built-in> 0.0 1.7
MAIN MAIN <built-in> 0.0 1.6
CAF GHC.IO.Handle.FD <entire-module> 0.0 68.3
CAF GHC.IO.Encoding <entire-module> 0.0 5.4
CAF GHC.Conc.Signal <entire-module> 0.0 1.3
CAF GHC.IO.Handle.FD <entire-module> 0.0 67.8
main Main scc001.hs:(5,1)-(7,23) 0.0 22.5
main Main scc001.hs:(5,1)-(7,23) 0.0 22.2
individual inherited
COST CENTRE MODULE SRC no. entries %time %alloc %time %alloc
individual inherited
COST CENTRE
MODULE SRC no. entries %time %alloc %time %alloc
MAIN
MAIN <built-in> 46 0 0.0 1.7
0.0 100.0
CAF
Main <entire-module> 91 0 0.0 0.1 0.0 0.1
(...)
Main scc001.hs:16:1-16 9
7 1 0.0 0.0 0.0 0.0
h Main scc001.hs:16:1-16 96 1 0.0 0.0 0.0 0.0
main Main scc001.hs:(5,1)-(7,23) 92
1 0.0 0.0 0.0 0.0
CAF GHC.Show <entire-module> 88 0 0.0 0.6 0.0 0.6
CAF GHC.IO.Handle.FD <entire-module> 85 0 0.0 67.8 0.0 67.8
CAF
GHC.IO.Handle.Text <entire-module> 84 0 0.0 0.2 0.0 0.2
CAF
GHC.Conc.Signal <entire-module> 82 0 0.0 1.3 0.0 1.3
CAF
GHC.IO.Encoding <entire-module> 79 0 0.0 5.4 0.0 5
.4
CAF
GHC.IO.Encoding.Iconv <entire-module> 65 0 0.0 0.5 0.0 0.5
main Main scc001.hs:(5,1)-(7,23) 93 0 0.0 22.5 0.0 22.5
f Main scc001.hs:10:1-7 94 1 0.0 0.0 0.0 0.0
g Main scc001.hs:13:1-7 95 1 0.0 0.0 0.0 0.0
MAIN
MAIN <built-in> 111 0 0.0 1.6
0.0 100.0
CAF
Main <entire-module> 221 0 0.0 0.0 0.0 0.6
(...)
Main scc001.hs:16:1-16 22
7 1 0.0 0.0 0.0 0.0
main Main scc001.hs:(5,1)-(7,23) 222 1 0.0 0.5 0.0 0.5
f Main scc001.hs:10:1-7 224
1 0.0 0.0 0.0 0.0
g Main scc001.hs:13:1-7 225 1 0.0 0.0 0.0 0.0
h Main scc001.hs:16:1-16 226 1 0.0 0.0 0.0 0.0
CAF
GHC.Conc.Signal <entire-module> 216 0 0.0 1.3 0.0 1.3
CAF
GHC.IO.Encoding <entire-module> 206 0 0.0 5.4 0.0 5.4
CAF
GHC.IO.Encoding.Iconv <entire-module> 204 0 0.0 0.4 0.0 0
.4
CAF
GHC.IO.Handle.FD <entire-module> 196 0 0.0 68.3 0.0 68.3
CAF GHC.IO.Handle.Text <entire-module> 194 0 0.0 0.2 0.0 0.2
CAF GHC.Show <entire-module> 179 0 0.0 0.6 0.0 0.6
main Main scc001.hs:(5,1)-(7,23) 223 0 0.0 21.7 0.0 21.7
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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