PatchworkOS
Loading...
Searching...
No Matches
clock.c File Reference
#include "clock.h"
#include <sys/proc.h>

Go to the source code of this file.

Functions

void _clock_init (void)
 
clock_t _clock_get (void)
 

Variables

static clock_t startTime = 0
 

Function Documentation

◆ _clock_get()

clock_t _clock_get ( void  )

Definition at line 12 of file clock.c.

References startTime, and uptime().

Referenced by clock().

◆ _clock_init()

void _clock_init ( void  )

Definition at line 7 of file clock.c.

References startTime, and uptime().

Referenced by _user_init().

Variable Documentation

◆ startTime

clock_t startTime = 0
static