IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2005, 6:52:07 PM (21 years ago)
Author:
eugene
Message:

reorg, tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/TaskOps.c

    r2598 r3140  
    141141}
    142142
     143double GetTaskTimer (struct timeval start) {
     144
     145  double dtime;
     146  struct timeval now;
     147 
     148  gettimeofday (&now, (void *) NULL);
     149  dtime = DTIME (now, start);
     150 
     151  return (dtime);
     152}
     153
     154void SetTaskTimer (struct timeval *timer) {
     155  gettimeofday (timer, (void *) NULL);
     156}
Note: See TracChangeset for help on using the changeset viewer.