Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <time.h>
  3. #include <libc/farptrgs.h>
  4. #include <menuet/os.h>
  5.  
  6. unsigned long rawclock(void)
  7. {
  8.   static unsigned long base = 0;
  9.   unsigned long rv;
  10.   rv=__menuet__getsystemclock();
  11.   if (base == 0)
  12.     base = rv;
  13.   return rv - base;
  14. }
  15.