Re: Profiling: Interpreting tottime

2010-04-08 Thread Nikolaus Rath
"Gabriel Genellina" writes: > En Wed, 07 Apr 2010 18:44:39 -0300, Nikolaus Rath > escribió: > >> def check_s3_refcounts(): >> """Check s3 object reference counts""" >> >> global found_errors >> log.info('Checking S3 object reference counts...') >> >> for (key, refcount) in conn.qu

Re: Profiling: Interpreting tottime

2010-04-07 Thread Gabriel Genellina
En Wed, 07 Apr 2010 18:44:39 -0300, Nikolaus Rath escribió: def check_s3_refcounts(): """Check s3 object reference counts""" global found_errors log.info('Checking S3 object reference counts...') for (key, refcount) in conn.query("SELECT id, refcount FROM s3_objects"):

Re: Profiling: Interpreting tottime

2010-04-07 Thread Gabriel Genellina
En Wed, 07 Apr 2010 18:44:39 -0300, Nikolaus Rath escribió: def check_s3_refcounts(): """Check s3 object reference counts""" global found_errors log.info('Checking S3 object reference counts...') for (key, refcount) in conn.query("SELECT id, refcount FROM s3_objects"):

Profiling: Interpreting tottime

2010-04-07 Thread Nikolaus Rath
Hello, Consider the following function: def check_s3_refcounts(): """Check s3 object reference counts""" global found_errors log.info('Checking S3 object reference counts...') for (key, refcount) in conn.query("SELECT id, refcount FROM s3_objects"): refcount2 = conn.get