* aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Apr 1997 22:26:31 +0000 (22:26 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Apr 1997 22:26:31 +0000 (22:26 +0000)
commit63ddb6bd72bc7bb7c541bcb7be876b91467c70f3
tree72ade9000d14876a7ca44e41ee81ed1da09952d0
parentb57d4d17d64d0402e2b8faa74ae70d540e5e0b9c
* aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
Check for functions getrusage, time.
* sim-basics.h (SIM_ELAPSED_TIME): New typedef.
(sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
* sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
(sim_elapsed_time_get, sim_elapsed_time_since): New functions.
sim/common/ChangeLog
sim/common/aclocal.m4
sim/common/sim-basics.h