HardenedBSD/sys/ddb
Poul-Henning Kamp e796e00de3 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
..
db_access.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_access.h
db_aout.c Print the filename, not the directory we compiled in. 1997-09-28 08:34:46 +00:00
db_break.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_break.h
db_command.c Redo the previous commit in a more Bruce-friendly fashion. 1998-05-19 18:42:09 +00:00
db_command.h
db_examine.c
db_expr.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_input.c Some fixes from John Hood: 1997-12-05 05:36:58 +00:00
db_lex.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_lex.h
db_output.c
db_output.h
db_print.c Some cleanups related to timecounters and weird ifdefs in <sys/time.h>. 1998-05-28 09:30:28 +00:00
db_ps.c Fixed scrolling. Newline at the "--More--" prompt scrolled 2 lines. 1997-10-09 00:20:00 +00:00
db_run.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_sym.c Some staticized variables were still declared to be extern. 1997-06-30 23:54:50 +00:00
db_sym.h Some staticized variables were still declared to be extern. 1997-06-30 23:54:50 +00:00
db_trap.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_variables.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_variables.h Some staticized variables were still declared to be extern. 1997-06-30 23:54:50 +00:00
db_watch.c Ensure that the linker sets for commands exist by putting a standard 1998-02-13 02:19:29 +00:00
db_watch.h
db_write_cmd.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
ddb.h Redo the previous commit in a more Bruce-friendly fashion. 1998-05-19 18:42:09 +00:00