Did I find the right examples for you? yes no

All Samples(29)  |  Call(29)  |  Derive(0)  |  Import(0)
Timer Class to mesure time.
Possess also few time utilities

src/g/m/gmvault-HEAD/src/gmv/gmvault.py   gmvault(Download)
 
        #timer used to mesure time spent in the different values
        self.timer = gmvault_utils.Timer()
 
    @classmethod
        chat_dir = None
 
        timer = gmvault_utils.Timer() #start local timer for chat
        timer.start()
 
    def _sync_emails(self, imap_req, compress, restart):
        """
           sync emails
        """
        timer = gmvault_utils.Timer()
            LOG.critical("Read all gmail ids from the Gmvault db. It might take a bit of time ...\n")
 
            timer = gmvault_utils.Timer() # needed for enhancing the user information
            timer.start()
 
        self.src.select_folder(folder_def_location)
 
        timer = gmvault_utils.Timer() # local timer for restore emails
        timer.start()
 

src/g/m/gmvault-HEAD/src/sandbox/common_gmvault.py   gmvault(Download)
 
        #timer used to mesure time spent in the different values
        self.timer = gmvault_utils.Timer()
 
    @classmethod
        chat_dir = None
 
        timer = gmvault_utils.Timer() #start local timer for chat
        timer.start()
 
 
        """    
        timer = gmvault_utils.Timer()
        timer.start()
 
            LOG.critical("Read all gmail ids from the Gmvault db. It might take a bit of time ...\n")
 
            timer = gmvault_utils.Timer() # needed for enhancing the user information
            timer.start()
 
        self.src.select_folder(folder_def_location)
 
        timer = gmvault_utils.Timer() # local timer for restore emails
        timer.start()
 

src/g/m/gmvault-1.8.1-beta/src/gmv/gmvault.py   gmvault(Download)
 
        #timer used to mesure time spent in the different values
        self.timer = gmvault_utils.Timer()
 
    @classmethod
        chat_dir = None
 
        timer = gmvault_utils.Timer() #start local timer for chat
        timer.start()
 
    def _sync_emails(self, imap_req, compress, restart):
        """
           sync emails
        """
        timer = gmvault_utils.Timer()
            LOG.critical("Read all gmail ids from the Gmvault db. It might take a bit of time ...\n")
 
            timer = gmvault_utils.Timer() # needed for enhancing the user information
            timer.start()
 
        self.src.select_folder(folder_def_location)
 
        timer = gmvault_utils.Timer() # local timer for restore emails
        timer.start()
 

src/g/m/gmvault-HEAD/src/gmv/imap_utils.py   gmvault(Download)
        LOG.debug("Applying labels %s" % (labels))
 
        the_timer = gmvault_utils.Timer()
        the_timer.start()
 
            raise Exception("Cannot push to this account")
 
        the_timer = gmvault_utils.Timer()
        the_timer.start()
        LOG.debug("Before to Append email contents")
            raise Exception("Cannot push to this account")
 
        the_t = gmvault_utils.Timer()
        the_t.start()
        LOG.debug("Before to Append email contents")

src/g/m/gmvault-1.8.1-beta/src/gmv/imap_utils.py   gmvault(Download)
        LOG.debug("Applying labels %s" % (labels))
 
        the_timer = gmvault_utils.Timer()
        the_timer.start()
 
            raise Exception("Cannot push to this account")
 
        the_timer = gmvault_utils.Timer()
        the_timer.start()
        LOG.debug("Before to Append email contents")
            raise Exception("Cannot push to this account")
 
        the_t = gmvault_utils.Timer()
        the_t.start()
        LOG.debug("Before to Append email contents")

src/g/m/gmvault-HEAD/src/gmv/gmvault_export.py   gmvault(Download)
        LOG.critical("Start %s export for %s." % (kind, exported_labels))
 
        timer = gmvault_utils.Timer()
        timer.start()
        done = 0

src/g/m/gmvault-1.8.1-beta/src/gmv/gmvault_export.py   gmvault(Download)
        LOG.critical("Start %s export for %s." % (kind, exported_labels))
 
        timer = gmvault_utils.Timer()
        timer.start()
        done = 0