PR_ASSERT(PR_CLOCK_GRANULARITY > _PR_UNIX_TicksPerSecond()); pr_ticks *= (PR_CLOCK_GRANULARITY / _PR_UNIX_TicksPerSecond());
PRIntervalTime _MD_IrixGetInterval(){    if (mmem_fd != -1)    {        if (64 == clock_width)        {            PRUint64 temp = *(PRUint64*)iotimer_addr;            pr_ticks = (PRIntervalTime)(temp >> pr_clock_shift);        }        else        {            PRIntervalTime ticks = pr_ticks;            PRUint32 now = *(PRUint32*)iotimer_addr, temp;            PRUint32 residual = pr_residual, previous = pr_previous;            temp = now - previous + residual;            residual = temp & pr_clock_mask;            ticks += temp >> pr_clock_shift;            pr_previous = now;            pr_residual = residual;            pr_ticks = ticks;        }    }    else    {        /*         * No fast access. Use the time of day clock. This isn't the         * right answer since this clock can get set back, tick at odd         * rates, and it's expensive to acqurie.         */        pr_ticks = _PR_UNIX_GetInterval();        PR_ASSERT(PR_CLOCK_GRANULARITY > _PR_UNIX_TicksPerSecond());        pr_ticks *= (PR_CLOCK_GRANULARITY / _PR_UNIX_TicksPerSecond());    }    return pr_ticks;}  /* _MD_IrixGetInterval */