base/arch/i386/calibration/calibrate.c File Reference

#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <signal.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/io.h>
#include <getopt.h>
#include <pthread.h>
#include <math.h>
#include <errno.h>
#include <termio.h>
#include <sys/poll.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <asm/rtai_srq.h>
#include <rtai_fifos.h>
#include "calibrate.h"

Include dependency graph for calibrate.c:

Include dependency graph

Go to the source code of this file.

Functions

void print_usage (void)
void endme (int dummy)
void unload_kernel_helper (void)
int main (int argc, char *argv[])

Variables

option options []


Function Documentation

void endme int  dummy  )  [static]
 

Definition at line 94 of file calibrate.c.

Referenced by main().

int main int  argc,
char *  argv[]
 

Definition at line 105 of file calibrate.c.

References BUS_CHECK, CAL_8254, CALSRQ, END_BUS_CHECK, END_FREQ_CAL, END_KLATENCY, endme(), FREQ_CAL, GET_PARAMS, KLATENCY, MAXARGS, options, pid, print_usage(), rtai_open_srq(), rtai_srq, RTF_NAMELEN, srq, and unload_kernel_helper().

Here is the call graph for this function:

void print_usage void   ) 
 

Definition at line 62 of file calibrate.c.

Referenced by main().

void unload_kernel_helper void   )  [static]
 

Definition at line 96 of file calibrate.c.

Referenced by main().


Variable Documentation

struct option options[]
 

Initial value:

{ { "help", 0, 0, 'h' }, { "r8254", 0, 0, 'r' }, { "kernel", 0, 0, 'k' }, { "user", 0, 0, 'u' }, { "period", 1, 0, 'p' }, { "time", 1, 0, 't' }, { "cpu", 0, 0, 'c' }, { "apic", 0, 0, 'a' }, { "both", 0, 0, 'b' }, { "scope", 1, 0, 's' }, { "interrupt", 0, 0, 'i' }, { NULL, 0, 0, 0 } }
Definition at line 47 of file calibrate.c.

Referenced by main().


Generated on Thu Nov 20 11:50:14 2008 for RTAI API by doxygen 1.3.8