/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2015 Nexenta Systems, Inc. All rights reserved.
*/
#include <time.h>
int tick_per_msec = 0;
#pragma init(_boot_time_init)
static int
_boot_time_init(void)
{
return (0);
}
ddi_get_lbolt(void)
{
return (hrt / nsec_per_tick);
}
ddi_get_lbolt64(void)
{
return (hrt / nsec_per_tick);
}
void
{
}
gethrtime_unscaled(void)
{
return (gethrtime());
}
void
{
}
gethrestime_sec(void)
{
}
/* ARGSUSED */
void
{
}