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

SCM Repository

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

View of /branches/vis15/src/compiler/common/timers.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3775 - (download) (annotate)
Tue Apr 26 20:55:36 2016 UTC (4 years, 11 months ago) by jhr
File size: 1833 byte(s)
  Working on border control support for merge
(* timers.sml
 *
 * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
 *
 * COPYRIGHT (c) 2015 The University of Chicago
 * 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 timeHighVN = PhaseTimer.newPhase (timeHigh, "High IL value numbering")
    val timeHighNorm = PhaseTimer.newPhase (timeHigh, "High IL normalization")
    val timeHighCheck = PhaseTimer.newPhase (timeHigh, "High IL checking")
    val timeMid = PhaseTimer.newPhase (timeCompiler, "Mid IL optimization")
    val timeMidContract = PhaseTimer.newPhase (timeMid, "Mid IL contraction")
    val timeMidVN = PhaseTimer.newPhase (timeMid, "Mid IL value numbering")
    val timeMidBorderCtl = PhaseTimer.newPhase (timeMid, "Mid IL border control")
    val timeMidCheck = PhaseTimer.newPhase (timeMid, "Mid IL checking")
    val timeLow = PhaseTimer.newPhase (timeCompiler, "Low IL optimization")
    val timeLowContract = PhaseTimer.newPhase (timeLow, "Low IL contraction")
    val timeLowVN = PhaseTimer.newPhase (timeLow, "Low IL value numbering")
    val timeLowCheck = PhaseTimer.newPhase (timeLow, "Low IL checking")
    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