ldmud-3.2.9/doc/
ldmud-3.2.9/doc/efun/
ldmud-3.2.9/mud/
ldmud-3.2.9/mud/heaven7/
ldmud-3.2.9/mud/heaven7/lib/
ldmud-3.2.9/mud/lp-245/
ldmud-3.2.9/mud/lp-245/banish/
ldmud-3.2.9/mud/lp-245/doc/
ldmud-3.2.9/mud/lp-245/doc/examples/
ldmud-3.2.9/mud/lp-245/doc/sefun/
ldmud-3.2.9/mud/lp-245/log/
ldmud-3.2.9/mud/lp-245/obj/Go/
ldmud-3.2.9/mud/lp-245/players/lars/
ldmud-3.2.9/mud/lp-245/room/death/
ldmud-3.2.9/mud/lp-245/room/maze1/
ldmud-3.2.9/mud/lp-245/room/sub/
ldmud-3.2.9/mud/lp-245/secure/
ldmud-3.2.9/mud/morgengrauen/
ldmud-3.2.9/mud/morgengrauen/lib/
ldmud-3.2.9/mud/sticklib/
ldmud-3.2.9/mud/sticklib/src/
ldmud-3.2.9/mudlib/uni-crasher/
ldmud-3.2.9/pkg/
ldmud-3.2.9/pkg/debugger/
ldmud-3.2.9/pkg/diff/
ldmud-3.2.9/pkg/misc/
ldmud-3.2.9/src/autoconf/
ldmud-3.2.9/src/bugs/
ldmud-3.2.9/src/bugs/MudCompress/
ldmud-3.2.9/src/bugs/b-020916-files/
ldmud-3.2.9/src/bugs/doomdark/
ldmud-3.2.9/src/bugs/ferrycode/ferry/
ldmud-3.2.9/src/bugs/ferrycode/obj/
ldmud-3.2.9/src/bugs/psql/
ldmud-3.2.9/src/done/
ldmud-3.2.9/src/done/order_alist/
ldmud-3.2.9/src/done/order_alist/obj/
ldmud-3.2.9/src/done/order_alist/room/
ldmud-3.2.9/src/gcc/
ldmud-3.2.9/src/gcc/2.7.0/
ldmud-3.2.9/src/gcc/2.7.1/
ldmud-3.2.9/src/hosts/
ldmud-3.2.9/src/hosts/GnuWin32/
ldmud-3.2.9/src/hosts/amiga/NetIncl/
ldmud-3.2.9/src/hosts/amiga/NetIncl/netinet/
ldmud-3.2.9/src/hosts/amiga/NetIncl/sys/
ldmud-3.2.9/src/hosts/i386/
ldmud-3.2.9/src/hosts/msdos/byacc/
ldmud-3.2.9/src/hosts/msdos/doc/
ldmud-3.2.9/src/hosts/os2/
ldmud-3.2.9/src/hosts/win32/
ldmud-3.2.9/src/util/
ldmud-3.2.9/src/util/erq/
ldmud-3.2.9/src/util/indent/hosts/next/
ldmud-3.2.9/src/util/xerq/
ldmud-3.2.9/src/util/xerq/lpc/
ldmud-3.2.9/src/util/xerq/lpc/www/
Short: Faster callouts
From: "Dale Perkins" <elric@lpmud.com>
Date: 00/11/16
Type: Feature
State: New


I will make the diff, shoudl I email it to you or set it somewhere you can
ftp it from?
I just finished changing it so it will work on the new ldmud-23dev238
driver, there are a couple
of warnings but they may be warnings that show up anyways when compiling on
freebsd, I'm not sure. The code for fast_call_out is a bit of a cludge, I
just copied new_call_out to new_fast_call_out
and in new_call_out multiplied the time by 10. I didn't do much (translate
as any) documentation so let me explain a few things that might appear odd.
of to add tenths of a second to the tv_sec time you times tv_sec by 10 then
add tv_usec/100,000 but then its too big, so i added another variable called
big_time which is 90,000,000 hmm its always that i could prolly just define
it as that and remove that computation. Anyways the variable current_time is
now 10ths of seconds since teh epoch - 90 million. I fixed the efun time()
to get secs again but I still need to fix timestamp (actually I just
realized that i didnt) timestamps say its 1993 ;) ahh the good ol days :) hm
find_call_out, I have no idea what to do here. fast_call_outs and call_outs
are all together and there is no real way to tell them apart so
find_call_out returns 10ths of seconds left till its called

As for machine load, well i have been using the 'top' command and it still
doesnt even register as 1%
of cpu (an AMD K6-200) while using a slightly modified 2.4.5 lib and I am
not sure of any otehr way to test its usage.

Ok, this email is a mess, never write email while under the influence of
cold medicine, although coding this way is kinda neat ;'p

Elric

P.S. log on lpmud.com 8023