26 lines
435 B
C
Executable File
26 lines
435 B
C
Executable File
#if !defined(__MAIN_H__)
|
|
#define __MAIN_H__
|
|
|
|
#include <limits.h>
|
|
#include <pthread.h>
|
|
#include <sched.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <sys/mman.h>
|
|
#include <time.h>
|
|
#include <errno.h>
|
|
#include <signal.h>
|
|
|
|
|
|
struct period_info
|
|
{
|
|
struct timespec next_period;
|
|
long period_ns;
|
|
unsigned long cyclecounter;
|
|
float fStartTime;
|
|
};
|
|
|
|
extern struct period_info pinfo;
|
|
|
|
#endif |