phk d3d65c6b2e Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.

Use an inline function rather than a macro for timecounter delta.

Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.

Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()

This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.

WARNING:  Programs which muck about with struct proc in userland
will have to be fixed.

Reviewed, but found imperfect by:       bde
1998-05-28 09:30:28 +00:00
..
1998-02-20 13:11:54 +00:00
1997-08-02 14:33:27 +00:00
1998-05-14 11:29:06 +00:00
1997-11-22 08:35:46 +00:00
1998-01-22 17:30:44 +00:00
1998-02-20 13:37:40 +00:00
1998-02-12 18:02:07 +00:00
1998-01-31 07:23:16 +00:00
1998-02-20 13:52:15 +00:00
1998-02-06 12:14:30 +00:00
1998-04-24 11:50:30 +00:00
1997-09-14 02:50:28 +00:00
1998-05-17 11:53:46 +00:00
1998-05-14 11:29:06 +00:00
1998-02-25 06:16:37 +00:00
1998-04-15 17:47:40 +00:00
1998-02-20 13:37:40 +00:00
1998-05-17 11:53:46 +00:00
1998-05-17 11:53:46 +00:00
1997-12-19 23:18:37 +00:00
1998-05-06 05:29:41 +00:00
1998-02-09 06:11:36 +00:00
1998-05-07 04:58:58 +00:00
1998-05-07 04:58:58 +00:00