freebsd-skq/sys/ddb
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
..
db_access.c Removed unused #includes. 1997-06-14 11:52:37 +00:00
db_access.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
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 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
db_command.c Redo the previous commit in a more Bruce-friendly fashion. 1998-05-19 18:42:09 +00:00
db_command.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
db_examine.c Fixed gratuitous ANSIisms. 1997-04-01 14:31:06 +00:00
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 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
db_output.c Fixed gratuitous ANSIisms. 1997-04-01 14:31:06 +00:00
db_output.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
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 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
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