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
pgp7Kp89IyMeq.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel