
Go to the source code of this file.
| Classes | |
| union | time_stamp_t | 
| Defines | |
| #define | __USE_RDTSC | 
| #define | BUF_SIZE 100 | 
| #define | CPU_CLOCK 1700 /* 1.7GHz -> microsec */ | 
| #define | rdtsc(tsc) | 
| Functions | |
| unsigned | current_utime (void) | 
| int | debug_printf (char *fmt,...) | 
| void | hoge () | 
| void | init_utils () | 
| int | read_cpuinfo () | 
| static void | reset_utime () | 
| Variables | |
| static int | cpu_clock | 
| static time_stamp_t | now | 
| static time_stamp_t | start | 
| #define __USE_RDTSC | 
Definition at line 27 of file rgc_utils.c.
| #define BUF_SIZE 100 | 
| #define CPU_CLOCK 1700 /* 1.7GHz -> microsec */ | 
Definition at line 29 of file rgc_utils.c.
| #define rdtsc | ( | tsc | ) | 
__asm__ __volatile__("rdtsc"\ : "=a" (tsc.reg.eax), "=d" (tsc.reg.edx)\ )
Definition at line 68 of file rgc_utils.c.
| unsigned current_utime | ( | void | ) | 
Definition at line 81 of file rgc_utils.c.
| int debug_printf | ( | char * | fmt, | 
| ... | |||
| ) | 
Definition at line 11 of file rgc_utils.c.
| void hoge | ( | ) | 
Definition at line 25 of file rgc_utils.c.
| void init_utils | ( | ) | 
Definition at line 142 of file rgc_utils.c.
| int read_cpuinfo | ( | ) | 
Definition at line 33 of file rgc_utils.c.
| static void reset_utime | ( | ) |  [static] | 
Definition at line 77 of file rgc_utils.c.
| int cpu_clock  [static] | 
Definition at line 31 of file rgc_utils.c.
| time_stamp_t now  [static] | 
Definition at line 75 of file rgc_utils.c.
| time_stamp_t start  [static] | 
Definition at line 75 of file rgc_utils.c.