commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnuef/client gfclient


From: Jason Cater
Subject: gnue/gnuef/client gfclient
Date: Fri, 11 May 2001 17:04:05 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/05/11 17:04:05

Modified files:
        gnuef/client   : gfclient 

Log message:
        Added profiling support to the new GClientApp so profiling will be 
provided by default to all client apps.  Updated gfclient to reflect this 
change (it previously did its own profiling).

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/client/gfclient.diff?cvsroot=OldCVS&tr1=1.38&tr2=1.39&r1=text&r2=text

Patches:
Index: gnue/gnuef/client/gfclient
diff -u gnue/gnuef/client/gfclient:1.38 gnue/gnuef/client/gfclient:1.39
--- gnue/gnuef/client/gfclient:1.38     Fri May 11 14:58:09 2001
+++ gnue/gnuef/client/gfclient  Fri May 11 17:04:05 2001
@@ -16,7 +16,7 @@
 #
 # Copyright (c) 2000 Free Software Foundation
 #
-# $Id: gfclient,v 1.38 2001/05/11 21:58:09 jcater Exp $
+# $Id: gfclient,v 1.39 2001/05/12 00:04:05 jcater Exp $
 #
 
 import pstats
@@ -531,19 +531,6 @@
     ui.mainLoop()
       
 if __name__ == '__main__':
-  client = GFClient()
-  if client.profile:
-    import profile
-    profile.run("client.run()","runstats")
-    p = pstats.Stats('runstats')
-
-    p.sort_stats('time').print_stats(50)
-    p.sort_stats('cumulative').print_stats(50)
-  else :  
-    client.run()
-
-
-
-
+  GFClient().run()
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]