Browse code

- added get_ticks

Andrei Pelinescu-Onciul authored on 06/12/2001 18:32:54
Showing 2 changed files
... ...
@@ -67,3 +67,10 @@ void timer_ticker()
67 67
 		}
68 68
 	}
69 69
 }
70
+
71
+
72
+
73
+unsigned int get_ticks()
74
+{
75
+	return jiffies;
76
+}
... ...
@@ -32,6 +32,7 @@ extern struct sr_timer* timer_list;
32 32
 /*register a periodic timer;
33 33
  * ret: <0 on errror*/
34 34
 int register_timer(timer_function f, void* param, unsigned int interval);
35
+unsigned int get_ticks();
35 36
 void timer_ticker();
36 37
 
37 38
 #endif