[Spice-devel] [PATCH 0/9] add optional libjpeg-turbo use to spice-server mjpeg encoder

Christophe Fergeau cfergeau at redhat.com
Wed Jul 6 03:20:16 PDT 2011


On Wed, Jul 06, 2011 at 11:48:54AM +0200, Andrea Celestino wrote:
> In order to measure compression time, you mean the time between
> jpeg_start_compress() and jpeg_finish_compress, or the time of
> encode_frame() function?

I measured the time of the whole red_send_stream_data function. In
retrospect, I should have moved my end red_now() call before the
    red_channel_init_send_data(channel, SPICE_MSG_DISPLAY_STREAM_DATA,
NULL); line. I wanted to take into account the color conversion code that
was present in the code before, so I wanted to measure more than the time
between start_compress/finish_compress.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110706/794a940f/attachment.pgp>


More information about the Spice-devel mailing list