[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rep:Re: [f-cpu] SR security



On Thu, Aug 08, 2002 at 08:53:47AM +0200, Reichelt wrote:
> cedric schrieb:
> 
> > We have TIME_SLICE that is used for that, but perhaps a TIME, or CYCLE since 
> > start of CPU will be usefull.
> >
> A timer counting cycles from start of CPU is very useful for profiling (how long 
> does that function really take ?) And profiling is neccessary for optimisation, 
> because you want to concentrate efforts on the hot spots.

Agreed.

It would also be nice to have some 64-bit timers that can be set to
arbitrary values and support several operating modes:

	- run always / only in user mode
	- when the counter overflows:
		+ do / don't issue an interrupt
		+ stop / continue running / automatically load a new timer value

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/