[GRASS-SVN] r63737 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 24 09:30:51 PST 2014
Author: martinl
Date: 2014-12-24 09:30:51 -0800 (Wed, 24 Dec 2014)
New Revision: 63737
Modified:
grass/trunk/gui/wxpython/mapdisp/main.py
Log:
wxGUI: add start debug message (time) for standalone monitor
Modified: grass/trunk/gui/wxpython/mapdisp/main.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/main.py 2014-12-24 17:05:10 UTC (rev 63736)
+++ grass/trunk/gui/wxpython/mapdisp/main.py 2014-12-24 17:30:51 UTC (rev 63737)
@@ -28,6 +28,7 @@
import os
import sys
+import time
from core import globalvar
import wx
@@ -488,7 +489,8 @@
RunCommand('g.gisenv',
set = 'MONITOR_%s_PID=%d' % (monName.upper(), os.getpid()))
-
+
+ start = time.time()
gmMap = MapApp(0)
mapFrame = gmMap.GetMapFrame()
mapFrame.SetTitle(monName)
@@ -496,6 +498,8 @@
mapFrame._giface.ShowAllToolbars(monDecor)
mapFrame._giface.ShowStatusbar(monDecor)
mapFrame.Show()
+ Debug.msg(1, "WxMonitor started in %.6f sec" % \
+ (time.time() - start))
gmMap.MainLoop()
More information about the grass-commit
mailing list