That works PERFECT! thanks! from pyramid.events import ApplicationCreated, subscriber import os import psutil import time
def application_created(event): time_now = time.time() time_start = psutil.Process(os.getpid()).create_time() print "-----------------------------" print "STARTED AT : %s" % time_start print "READY AT : %s" % time_now print "TOOK : %s" % (time_now - time_start) print "-----------------------------" -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.