24 | | * [/browser/trunk/src/xpra/window_source.py window_source.py]: this class is instantiated for each window and for each client, it deals with sending the window's pixels to the client. In particular: |
25 | | * {{{DamageBatchConfig}}}: the structure which encapsulates all the configuration and historical values related to a batch delay. |
26 | | * {{{WindowPerformanceStatistics}}}: per-window statistics: performance of the encoding/decoding, amount of frames and pixels in flight, etc. Again, the {{{get_factors}}} method rreturns a guesstimate of how the batch delay should ne agjusted for the given parameters ("pixel_count" and current "batch delay") |
27 | | * [/browser/trunk/src/xpra/batch_delay_calculator.py batch_delay_calculator.py]: this class is where we used the factors obtained by {{{get_factors}}} above to tune the various attributes. |
| 24 | * [/browser/xpra/trunk/src/xpra/server/source_stats.py xpra/server/source_stats.py]: {{{GlobalPerformanceStatistics}}}: collects various statistics about this client's connection speed, the various work queues, etc. The {{{get_factors}}} method returns a guesstimate of how the batch delay should be adjusted for the given parameters ("target latency" and "pixel count") |
| 25 | * [/browser/xpra/trunk/src/xpra/server/window_source.py window_source.py]: this class is instantiated for each window and for each client, it deals with sending the window's pixels to the client. In particular: |
| 26 | * [/browser/xpra/trunk/src/xpra/server/window_stats.py xpra/server/window_stats.py]: {{{WindowPerformanceStatistics}}}: per-window statistics: performance of the encoding/decoding, amount of frames and pixels in flight, etc. Again, the {{{get_factors}}} method rreturns a guesstimate of how the batch delay should ne agjusted for the given parameters ("pixel_count" and current "batch delay") |
| 27 | * [/browser/trunk/src/xpra/batch_delay_calculator.py batch_delay_calculator.py]: this class is where we use the factors obtained by {{{get_factors}}} above to tune the various attributes. |