ftape-calibr.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef _FTAPE_CALIBR_H
  2. #define _FTAPE_CALIBR_H
  3. /*
  4. * Copyright (C) 1993-1996 Bas Laarhoven.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; see the file COPYING. If not, write to
  15. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  16. *
  17. * $Source: /homes/cvs/ftape-stacked/ftape/lowlevel/ftape-calibr.h,v $
  18. * $Revision: 1.1 $
  19. * $Date: 1997/09/19 09:05:26 $
  20. *
  21. * This file contains a gp calibration routine for
  22. * hardware dependent timeout functions.
  23. */
  24. extern void ftape_calibrate(char *name,
  25. void (*fun) (unsigned int),
  26. unsigned int *calibr_count,
  27. unsigned int *calibr_time);
  28. extern unsigned int ftape_timestamp(void);
  29. extern unsigned int ftape_timediff(unsigned int t0, unsigned int t1);
  30. #endif /* _FTAPE_CALIBR_H */