Re: [spice 6/7] server: Add time constants to go with spice_get_monotonic_time_ms()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 11, 2015 at 12:22:31PM +0100, Francois Gouget wrote:
> diff --git a/server/utils.h b/server/utils.h
> index cf6b224..755133b 100644
> --- a/server/utils.h
> +++ b/server/utils.h
> @@ -62,6 +62,8 @@ static inline red_time_t spice_get_monotonic_time_ns(void)
>      return NS_PER_SECOND * time.tv_sec + time.tv_nsec;
>  }
>  
> +#define MS_PER_SECOND 1000

Same comment about naming as in the other patch, looks good to me
otherwise.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]