[Spice-devel] RFC: Time functions in Spice

Francois Gouget fgouget at codeweavers.com
Mon Dec 7 08:29:15 PST 2015


On Mon, 7 Dec 2015, Marc-André Lureau wrote:
[...]
> > So I propose to rename these functions to spice_nanosecond_time() and
> > spice_millisecond_time() and to define both in utils.h. Would that be
> > ok?
> 
> Why not use g_get_monotonic_time() everywhere? I don't think spice needs
> nanosecond anyway.

Possibly but that requires a much more careful look at the code and is 
more than I intend to chew. So unless you plan on doing such a change 
shortly I think it makes sense applying a simple rename patch to avoid 
the ambiguity in the meantime.

-- 
Francois Gouget <fgouget at codeweavers.com>


More information about the Spice-devel mailing list