~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-04 14:01:00 UTC
  • mfrom: (5004.1.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100204140100-xiij51gtzay09vgi
(doxxx) Change the units displayed for transport activity and debug
        memory

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
        if False:
137
137
            elapsed = time.time() - before
138
138
            if result_len and elapsed > 0:
139
 
                # this is the rate of higher-level data, not the raw network speed
140
 
                mutter("      %9.03fs %8dKB/s" % (elapsed, result_len/elapsed/1024))
 
139
                # this is the rate of higher-level data, not the raw network
 
140
                # speed using base-10 units (see HACKING.txt).
 
141
                mutter("      %9.03fs %8dkB/s"
 
142
                       % (elapsed, result_len/elapsed/1000))
141
143
            else:
142
144
                mutter("      %9.03fs" % (elapsed))
143
145
        return return_result