#define LPT_PORT 0x378 #define LPT_IRQ 7 #define RTC_IRQ 8 #include struct sample { hrtime_t min; hrtime_t max; };