Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
btime.c File Reference
#include "primpl.h"
#include <kernel/OS.h>

Go to the source code of this file.


PRTime _MD_now (void)
void _MD_interval_init (void)
PRIntervalTime _MD_get_interval (void)
PRIntervalTime _MD_interval_per_sec (void)


static bigtime_t start

Function Documentation

Definition at line 57 of file btime.c.

    return( (PRIntervalTime) real_time_clock_usecs() / 10 );

#if 0
    /* return the number of tens of microseconds that have elapsed since
       we were initialized */
    bigtime_t now = real_time_clock_usecs();
    now -= start;
    now /= 10;
    return (PRIntervalTime)now;

Definition at line 50 of file btime.c.

    /* grab the base interval time */
    start = real_time_clock_usecs();

Definition at line 72 of file btime.c.

    return 100000L;

Definition at line 44 of file btime.c.

    return (PRTime)real_time_clock_usecs();

Variable Documentation

bigtime_t start [static]

Definition at line 41 of file btime.c.