Date: Sun, 30 Jun 2002 15:49:51 -0400 From: Andrew Gallatin <gallatin@cs.duke.edu> To: Luigi Rizzo <luigi@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa clock.c src/sys/i386/include param.h src/sys/conf options.i386 Message-ID: <20020630154951.A20313@grasshopper.cs.duke.edu> In-Reply-To: <200206300756.g5U7unht089253@freefall.freebsd.org>; from luigi@FreeBSD.org on Sun, Jun 30, 2002 at 12:56:49AM -0700 References: <200206300756.g5U7unht089253@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo [luigi@FreeBSD.org] wrote: > luigi 2002/06/30 00:56:49 PDT > > Modified files: (Branch: RELENG_4) > sys/i386/isa clock.c > sys/i386/include param.h > sys/conf options.i386 > Log: > Add one function and one macro to timestamp events in the kernel using > the TSC register and which are just too conveninent not to have them around. > > The macro (defined in sys/i386/include/param.h) is called > > TSTMP(class:4, unit:4, event:8, par:16) > Before adding the TSTMP macro to any MI code, please remember to either implement it on alpha in terms of alpha_rpcc() or to at least add a stub to alpha/include/param.h so that you don't break kernel builds on alpha. Also, a few years back at Duke we did something we called "netlog" which logged what looks like similar information to a network log server via either Myrinet or UDP. The idea was that (at least w/Myrinet) letting the nic DMA a log buffer out of memory was cheap and less likely to perturb results. If you're interested, I could probably dig up the code and a pointer to some text about it (I think it was at least one person's MS thesis). Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020630154951.A20313>