OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [dhrystone/] [port/] [dhry_utils.h] - Blame information for rev 319

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 280 hellwig
/*
2
 * dhry_utils.h -- utility functions
3
 */
4
 
5
#include "stdarg.h"
6
#include "iolib.h"
7
 
8
#define HZ      1000    /* 1000 clock ticks per second */
9
 
10
typedef unsigned long clock_t;
11
 
12
typedef struct tms {
13
  clock_t tms_utime;    /* user time */
14
  clock_t tms_stime;    /* system time */
15
  clock_t tms_cutime;   /* user time of children */
16
  clock_t tms_cstime;   /* system time of children */
17
};
18
 
19
clock_t times(struct tms *buf);
20
void *malloc(unsigned size);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.