Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)
Stupid estimate. Use current time to estimate how long it will take

src/g/m/gmvault-HEAD/src/sandbox/common_gmvault.py   gmvault(Download)
                                         (nb_chats_processed,  timer.seconds_to_human_time(elapsed), \
                                          left_emails, \
                                          timer.estimate_time_left(nb_chats_processed, elapsed, left_emails)))
 
                        # save id every 10 restored emails
                                     (nb_emails_processed,  \
                                      timer.seconds_to_human_time(elapsed), left_emails, \
                                      timer.estimate_time_left(nb_emails_processed, elapsed, left_emails)))
 
                    # save id every 10 restored emails
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
            # save id every nb_items restored emails
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
            # save id every 50 restored emails

src/g/m/gmvault-HEAD/src/gmv/gmvault.py   gmvault(Download)
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
            # save id every nb_items restored emails
                             "(time estimate %s). ==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
            # save id every 50 restored emails

src/g/m/gmvault-HEAD/src/gmv/gmvault_export.py   gmvault(Download)
                LOG.critical("== Processed %d %s in %s, %d left (time estimate %s). ==\n" % \
                    (done, kind, timer.seconds_to_human_time(elapsed), \
                     left, timer.estimate_time_left(done, elapsed, left)))
 
        LOG.critical("Export completed in %s." % (timer.elapsed_human_time(),))

src/g/m/gmvault-1.8.1-beta/src/gmv/gmvault.py   gmvault(Download)
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
            # save id every nb_items restored emails
                             "(time estimate %s). ==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
            # save id every 50 restored emails

src/g/m/gmvault-1.8.1-beta/src/gmv/gmvault_export.py   gmvault(Download)
                LOG.critical("== Processed %d %s in %s, %d left (time estimate %s). ==\n" % \
                    (done, kind, timer.seconds_to_human_time(elapsed), \
                     left, timer.estimate_time_left(done, elapsed, left)))
 
        LOG.critical("Export completed in %s." % (timer.elapsed_human_time(),))