NetBSD/sys/ddb
thorpej 16c229ea7c Optimization suggested by Bill Sommerfeld: Keep a hint as to the
"earliest" firing callout in a bucket.  This allows us to skip
the scan up the bucket if no callouts are due in the bucket.

A cheap O(1) hint update is done at callout insertion (if new callout
is earlier than hint) and removal (is bucket empty).  A thorough
refresh of the hint is done when the bucket is traversed.

This doesn't matter much on machines with small values of hz
(e.g. i386), but on systems with large values of hz (e.g. Alpha),
it has a definite positive effect.

Also, keep the callwheel stats in evcnts, so that you can view them
with "vmstat -e".
2001-09-11 04:32:19 +00:00
..
db_access.c constify a little 2001-01-17 19:50:03 +00:00
db_access.h
db_aout.c constify a little 2001-01-17 19:50:03 +00:00
db_aout.h
db_break.c replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
db_break.h replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
db_command.c Add `show malloc' to dump the internal state of the MALLOC_DEBUG code. 2001-08-17 01:00:10 +00:00
db_command.h Add `show malloc' to dump the internal state of the MALLOC_DEBUG code. 2001-08-17 01:00:10 +00:00
db_elf.c Extra sanity checking on ELF headers: Make sure the bootloader actually 2001-07-31 22:31:47 +00:00
db_examine.c #include <systm.h> for string fn prototypes. 2001-02-24 00:00:12 +00:00
db_expr.c Fix compiler warning. 2000-07-09 01:52:17 +00:00
db_extern.h Move platform db_trap callback from arch/mips into ddb as suggested by 2000-07-17 19:57:49 +00:00
db_input.c Fix CTRL-T to behave properly. It should swaps the current and previous 2000-07-28 16:33:39 +00:00
db_interface.h Add an easy way to dump the message buffer from ddb. 2001-07-31 04:28:16 +00:00
db_lex.c printf format safety 2000-07-08 17:10:22 +00:00
db_lex.h Stop using DDB-specific "%n" kprintf() format specifier. This was 2000-06-06 05:06:25 +00:00
db_output.c allow one to #define DB_MAX_LINE and DB_MAX_WIDTH independantly. 2001-07-01 12:16:25 +00:00
db_output.h Add two new functions, db_format_radix() and db_format_hex(), which supplant 2000-08-09 19:51:44 +00:00
db_print.c The current API for MD support doesn't directly support the documented /u 2001-05-13 01:38:53 +00:00
db_run.c Die, register, die! 2000-03-30 11:31:26 +00:00
db_run.h put crud after #endif in comments 2001-02-15 21:59:38 +00:00
db_sym.c Add a port to IBM's PPC405GP Reference Board (the "walnut") 2001-06-13 06:01:44 +00:00
db_sym.h constify a little 2001-01-17 19:50:03 +00:00
db_trap.c When we hit a breakpoint in a process, print the pid of the process as 2000-12-20 15:42:37 +00:00
db_variables.c fix invalid reference to $fromconsole via DDB 2001-04-11 23:02:12 +00:00
db_variables.h The current API for MD support doesn't directly support the documented /u 2001-05-13 01:38:53 +00:00
db_watch.c Update pmap_update to now take the updated pmap as an argument. 2001-09-10 21:19:08 +00:00
db_watch.h replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
db_write_cmd.c Stop using DDB-specific "%n" kprintf() format specifier. This was 2000-06-06 05:06:25 +00:00
db_xxx.c Optimization suggested by Bill Sommerfeld: Keep a hint as to the 2001-09-11 04:32:19 +00:00
ddbvar.h
TODO Add x/m option functionality 2000-12-28 07:30:06 +00:00