bench-pycrypt.py
def countrounds(self, to):
        """ count how many iterations of self.test() can be run in the given time span <to> """
        ts = time.clock()
        te = ts+to
        count = 0
        while time.clock() < te:
            self.test()
            count += 1
        return count
 count how many iterations of self.test() can be run in the given time span <to> 
count how many iterations of self.test() can be run in the given time span 
count how many iterations of self . test () can be run in the given time span
def countrounds(self, to):
        ts = time.clock()
        te = ts+to
        count = 0
        while time.clock() < te:
            self.test()
            count += 1
        return count
def countrounds ( self , to ) : ts = time . clock ( ) te = ts + to count = 0 while time . clock ( ) < te : self . test ( ) count += 1 return count
count how many iterations of self.test() can be run in the given time span <to>
count how many iterations of self . test () can be run in the given time span <to >
""" count how many iterations of self.test() can be run in the given time span <to> """
self
to