Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /trunk/src/compiler/common/timers.sml
ViewVC logotype

Annotation of /trunk/src/compiler/common/timers.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1115 - (view) (download)

1 : jhr 1115 (* timers.sml
2 :     *
3 :     * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 :     * All rights reserved.
5 :     *)
6 :    
7 :     structure Timers =
8 :     struct
9 :    
10 :     val timeCompiler = PhaseTimer.newTimer "compiler"
11 :     val timeFront = PhaseTimer.newPhase (timeCompiler, "front end")
12 :     val timeParser = PhaseTimer.newPhase (timeFront, "parser")
13 :     val timeTypechecker = PhaseTimer.newPhase (timeFront, "typechecker")
14 :     val timeSimplify = PhaseTimer.newPhase (timeFront, "simplify")
15 :     val timeTranslate = PhaseTimer.newPhase (timeCompiler, "translate")
16 :     val timeHigh = PhaseTimer.newPhase (timeCompiler, "High IL optimization")
17 :     val timeMid = PhaseTimer.newPhase (timeCompiler, "Mid IL optimization")
18 :     val timeLow = PhaseTimer.newPhase (timeCompiler, "Low IL optimization")
19 :     val timeCodegen = PhaseTimer.newPhase (timeCompiler, "code generation")
20 :     val timeLowToTree = PhaseTimer.newPhase (timeCodegen, "Low IL to Tree IL")
21 :     val timeCC = PhaseTimer.newPhase (timeCodegen, "C compiler")
22 :    
23 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0