SCM Repository
View of /sml/trunk/src/compiler/time-comp.sml
Parent Directory
|
Revision Log
Revision 651 -
(download)
(annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 10 months ago) by monnier
File size: 419 byte(s)
Thu Jun 1 18:34:03 2000 UTC (20 years, 10 months ago) by monnier
File size: 419 byte(s)
bring revisions from the vendor branch to the trunk
(* time-comp.sml * * COPYRIGHT (c) 1996 AT&T Research. * * Time a compile of the SML/NJ system. * *) local structure T = Time structure Tm = Timer fun cvt {usr, gc, sys} = { usr = T.toString usr, gc = T.toString gc, sys = T.toString sys, tot = T.toString(T.+(usr, T.+(sys, gc))) } in fun make () = let val t0 = Tm.startCPUTimer() in CMB.make(); cvt (Tm.checkCPUTimer t0) end end;
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |