summaryrefslogblamecommitdiff
path: root/src/kernel/task/timer.h
blob: 4909245cb1607b7d3578545fd1792236cb5660eb (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                   
                  





                                                                                          
#ifndef DEF_TIMER_H
#define DEF_TIMER_H

#include <types.h>

void timer_init(uint32_t frequency);
uint32_t timer_time();		//Returns miliseconds (approximate) since computer started
uint32_t timer_uptime();	//Same thing in seconds

#endif