/breezy/3.0

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/3.0

« back to all changes in this revision

Viewing changes to breezy/bzr/smart/medium.py

  • Committer: Breezy landing bot
  • Author(s): Vincent Ladeuil
  • Date: 2019-03-06 11:29:23 UTC
  • mfrom: (7304.1.2 3.0)
  • Revision ID: breezy.the.bot@gmail.com-20190306112923-4j11qd9eo5kk8h8i
Release 3.0.0

Merged from https://code.launchpad.net/~vila/brz/3.0.0/+merge/364029

Show diffs side-by-side

added added

removed removed

Lines of Context:
433
433
        self.finished = True
434
434
 
435
435
    def _write_out(self, bytes):
436
 
        tstart = osutils.timer_func()
 
436
        tstart = osutils.perf_counter()
437
437
        osutils.send_all(self.socket, bytes, self._report_activity)
438
438
        if 'hpss' in debug.debug_flags:
439
439
            thread_id = _thread.get_ident()
440
440
            trace.mutter('%12s: [%s] %d bytes to the socket in %.3fs'
441
441
                         % ('wrote', thread_id, len(bytes),
442
 
                            osutils.timer_func() - tstart))
 
442
                            osutils.perf_counter() - tstart))
443
443
 
444
444
 
445
445
class SmartServerPipeStreamMedium(SmartServerStreamMedium):