Main Page | Directories | File List | Globals

counters_sys.c

Go to the documentation of this file.
00001 /*
00002  * kernel_super/counters/counters_sys.c
00003  *
00004  * Copyright (c) 2003-2004 Lukasz Dembinski <dembol@nasa.com.pl>
00005  * All Rights Reserved
00006  * 
00007  * Date:        2004/09
00008  * Author:      Lukasz Dembinski
00009  * Info:        counters_sys.c core file
00010  * Contact:     mailto: <dembol@nasa.com.pl>
00011  *
00012  */
00013 
00014 #include <agnix/agnix.h>
00015 #include <agnix/console.h>
00016 #include <agnix/counters.h>
00017 
00018 int counter_jiffies_desc;
00019 
00020 int counters_sys_init(void)
00021 {
00022     counter_jiffies_desc = register_counter(COUNTER_TYPE_64_BIT, "jiffies");    
00023     
00024     return counter_jiffies_desc;
00025 }
Dokumentacje wygenerowano programem Doxygen 1.4.2 dla projektu Agnix