diff bin/curvecalc @ 789:ea8ca6502255

refactor to prepare for submasters to work out of the main graph Ignore-this: a5d4b63cf6b7daf52cce9bbfc3e0c5b3
author drewp@bigasterisk.com
date Mon, 18 Jun 2012 01:34:40 +0000
parents d3f6830f55a2
children 431ddd043b47
line wrap: on
line diff
--- a/bin/curvecalc	Mon Jun 18 01:13:18 2012 +0000
+++ b/bin/curvecalc	Mon Jun 18 01:34:40 2012 +0000
@@ -34,6 +34,7 @@
 from light9.curvecalc.output import Output
 from light9.gtkpyconsole import togglePyConsole
 
+@prof.logTime
 def makeGraph():
     graphOrig = showconfig.getGraph()
     graph = Graph() # a copy, since we're going to add subs into it
@@ -374,4 +375,5 @@
 
     prof.run(reactor.run, profile=False)
 
-main()
+prof.run(main, profile=False)
+