Skip to content

Commit

Permalink
#999: expose "target-latency"
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@15617 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 14, 2017
1 parent a0b57b6 commit 993ee7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/server/window/window_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ def get_factors(self, pixel_count, delay):

def get_info(self):
info = {"damage" : {"events" : self.damage_events_count,
"packets_sent" : self.packet_count}
"packets_sent" : self.packet_count,
"target-latency" : int(1000*self.target_latency),
}
}
#encoding stats:
if len(self.encoding_stats)>0:
Expand Down

0 comments on commit 993ee7b

Please sign in to comment.