Skip to content

Commit

Permalink
include damage coordinates in logging
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12980 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 10, 2016
1 parent fabd01f commit 6d9a1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/server/window/window_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1842,8 +1842,8 @@ def make_data_packet(self, damage_time, process_damage_time, image, coding, sequ
if self.supports_flush and flush is not None:
client_options["flush"] = flush
end = time.time()
compresslog("compress: %5.1fms for %4ix%-4i pixels for wid=%-5i using %5s with ratio %5.1f%% (%5iKB to %5iKB), client_options=%s",
(end-start)*1000.0, outw, outh, self.wid, coding, 100.0*csize/psize, psize/1024, csize/1024, client_options)
compresslog("compress: %5.1fms for %4ix%-4i pixels at %4i,%-4i for wid=%-5i using %5s with ratio %5.1f%% (%5iKB to %5iKB), client_options=%s",
(end-start)*1000.0, outw, outh, x, y, self.wid, coding, 100.0*csize/psize, psize/1024, csize/1024, client_options)
self.statistics.encoding_stats.append((end, coding, w*h, bpp, len(data), end-start))
return self.make_draw_packet(x, y, outw, outh, coding, data, outstride, client_options)

Expand Down

0 comments on commit 6d9a1bc

Please sign in to comment.