|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/LIBNEWLIB PATCH 1/1] Add clock_getres and clock_settime stubs
Thanks, Vlad!
Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>
On 9/3/19 3:21 PM, Vlad-Andrei BĂDOIU (78692) wrote:
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> ---
> time.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/time.c b/time.c
> index 94e8097..a79691c 100644
> --- a/time.c
> +++ b/time.c
> @@ -137,6 +137,11 @@ unsigned int sleep(unsigned int seconds)
> return 0;
> }
>
> +int clock_getres(clockid_t clk_id __unused, struct timespec *res __unused)
> +{
> + return 0;
> +}
> +
> int clock_gettime(clockid_t clk_id __unused, struct timespec *tp __unused)
> {
> __nsec now;
> @@ -162,3 +167,8 @@ int clock_gettime(clockid_t clk_id __unused, struct
> timespec *tp __unused)
> tp->tv_nsec = ukarch_time_subsec(now);
> return 0;
> }
> +
> +int clock_settime(clockid_t clk_id __unused, const struct timespec *tp
> __unused)
> +{
> + return 0;
> +}
>
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |