[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r19326: {torflow} Save new timestamps on each incremental. (torflow/trunk/NetworkScanners)
Author: mikeperry
Date: 2009-04-15 01:54:54 -0400 (Wed, 15 Apr 2009)
New Revision: 19326
Modified:
torflow/trunk/NetworkScanners/speedracer.py
Log:
Save new timestamps on each incremental.
Modified: torflow/trunk/NetworkScanners/speedracer.py
===================================================================
--- torflow/trunk/NetworkScanners/speedracer.py 2009-04-14 23:21:12 UTC (rev 19325)
+++ torflow/trunk/NetworkScanners/speedracer.py 2009-04-15 05:54:54 UTC (rev 19326)
@@ -106,7 +106,6 @@
attempt = 0
successful = 0
- race_time = strftime("20%y-%m-%d-%H:%M:%S")
while successful < count:
meta.send_command_and_check('NEWNYM')
@@ -126,6 +125,7 @@
plog('DEBUG', str(skip) + '-' + str(pct) + '% circuit build+fetch failed for ' + str(build_exit))
if (successful % save_every) == 0:
+ race_time = strftime("20%y-%m-%d-%H:%M:%S")
meta.send_command_and_check('CLOSEALLCIRCS')
meta.send_command_and_check('SAVESTATS '+os.getcwd()+'/data/speedraces/stats-'+str(skip)+':'+str(pct)+"-"+str(successful)+"-"+race_time)
meta.send_command_and_check('SAVERATIOS '+os.getcwd()+'/data/speedraces/ratios-'+str(skip)+':'+str(pct)+"-"+str(successful)+"-"+race_time)