Coda Distributed File System
Enumerations | Functions | Variables
fasttime.c File Reference
#include <stdio.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/file.h>
#include <sys/mman.h>
#include <unistd.h>
#include <stdlib.h>
#include <lwp/lwp.h>
Include dependency graph for fasttime.c:

Enumerations

enum  InitState { notTried , tried , done }
 

Functions

int FT_Init (int printErrors, int notReally)
 
int FT_GetTimeOfDay (struct timeval *tv, struct timezone *tz)
 
int TM_GetTimeOfDay (struct timeval *tv, struct timezone *tz)
 
int FT_AGetTimeOfDay (struct timeval *tv, struct timezone *tz)
 
unsigned int FT_ApproxTime ()
 

Variables

struct timeval FT_LastTime
 

Enumeration Type Documentation

◆ InitState

enum InitState
Enumerator
notTried 
tried 
done 

Function Documentation

◆ FT_AGetTimeOfDay()

int FT_AGetTimeOfDay ( struct timeval *  tv,
struct timezone *  tz 
)

◆ FT_ApproxTime()

unsigned int FT_ApproxTime ( )

◆ FT_GetTimeOfDay()

int FT_GetTimeOfDay ( struct timeval *  tv,
struct timezone *  tz 
)

◆ FT_Init()

int FT_Init ( int  printErrors,
int  notReally 
)

◆ TM_GetTimeOfDay()

int TM_GetTimeOfDay ( struct timeval *  tv,
struct timezone *  tz 
)

Variable Documentation

◆ FT_LastTime

struct timeval FT_LastTime