diff options
Diffstat (limited to 'cad/pisces/files/xtimer_fbsd.c')
-rw-r--r-- | cad/pisces/files/xtimer_fbsd.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/cad/pisces/files/xtimer_fbsd.c b/cad/pisces/files/xtimer_fbsd.c deleted file mode 100644 index 390035abf9e2..000000000000 --- a/cad/pisces/files/xtimer_fbsd.c +++ /dev/null @@ -1,43 +0,0 @@ -/* ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc - * - * Copyright c 1988 The Board of Trustees of the Leland Stanford - * Junior University. All rights reserved. This routine may not - * be used without the prior written consent of Stanford University. - * - * ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc - */ - -/* XTIMER - return cpu time usage. */ - -/* ======================================================================= - * "XTIMER" - Return current (user) cpu time (in seconds) usage. - * - * Usage: - * subroutine xdate(tim) - * real tim - user seconds of cpu used. - * - * Original: Michael Eldredge -- Stanford University (may 88) - * - * ----------------------------------------------------------------------- - */ - -#include <sys/types.h> -#include <sys/times.h> - - -/*CENTRY*/ -void -xtimer_(tim) - float* tim ; - { - - float x ; - struct tms t ; - clock_t times() ; - - (void)times(&t) ; - x = (float)t.tms_utime / 60.0 ; - - *tim = x ; - } -/*ENDCENTRY*/ |