#include <sn/mmtimer.h>#include <sys/types.h>#include <unistd.h>#include <stdio.h>#include <sys/ioctl.h>#include <sys/mman.h>Go to the source code of this file.
Functions | |
| double | getLocalCyclesPerSecond () |
| int | isMMTimerAvail () |
Variables | |
| static unsigned long | mmdev_clicks_per_tick = 0 |
| static volatile unsigned long * | mmdev_timer_addr = NULL |
| double getLocalCyclesPerSecond | ( | ) |
Definition at line 47 of file mmtimer.c.
Referenced by isMMTimerAvail().
| int isMMTimerAvail | ( | ) |
* DEBUG */ fprintf( stderr, "%d: %lf MHz, "
Definition at line 69 of file mmtimer.c.
References getLocalCyclesPerSecond(), mmdev_clicks_per_tick, and mmdev_timer_addr.
unsigned long mmdev_clicks_per_tick = 0 [static] |
Definition at line 43 of file mmtimer.c.
Referenced by isMMTimerAvail().
volatile unsigned long* mmdev_timer_addr = NULL [static] |
Definition at line 44 of file mmtimer.c.
Referenced by isMMTimerAvail().
1.6.1