~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/looptuner.py

  • Committer: Colin Watson
  • Date: 2012-01-06 11:50:43 UTC
  • mto: This revision was merged to the branch mainline in revision 14646.
  • Revision ID: cjwatson@canonical.com-20120106115043-lz61t6p1iv0wc7uj
Document that chunk_size is a float.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        The chunk_size parameter says (in some way you define) how much work
50
50
        the LoopTuner believes you should try to do in this iteration in order
51
51
        to get as close as possible to your time goal.
 
52
 
 
53
        Note that chunk_size is a float, so, for example, if you use it to
 
54
        slice a list, be careful to round it to an int first.
52
55
        """
53
56
 
54
57
    def cleanUp(self):