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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1115 - (download) (annotate)
Thu May 5 04:42:18 2011 UTC (8 years, 10 months ago) by jhr
File size: 1013 byte(s)
  More merging of pure-cfg back into trunk
(* timers.sml
 *
 * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 *)

structure Timers =
  struct

    val timeCompiler = PhaseTimer.newTimer "compiler"
    val timeFront = PhaseTimer.newPhase (timeCompiler, "front end")
    val timeParser = PhaseTimer.newPhase (timeFront, "parser")
    val timeTypechecker = PhaseTimer.newPhase (timeFront, "typechecker")
    val timeSimplify = PhaseTimer.newPhase (timeFront, "simplify")
    val timeTranslate = PhaseTimer.newPhase (timeCompiler, "translate")
    val timeHigh = PhaseTimer.newPhase (timeCompiler, "High IL optimization")
    val timeMid = PhaseTimer.newPhase (timeCompiler, "Mid IL optimization")
    val timeLow = PhaseTimer.newPhase (timeCompiler, "Low IL optimization")
    val timeCodegen = PhaseTimer.newPhase (timeCompiler, "code generation")
    val timeLowToTree = PhaseTimer.newPhase (timeCodegen, "Low IL to Tree IL")
    val timeCC = PhaseTimer.newPhase (timeCodegen, "C compiler")

  end

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