DragonFly BSD
DragonFly users List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Setting the processor speed


From: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Date: 10 May 2006 15:34:10 GMT

Thomas Schlesinger <schlesinger@xxxxxxxxxxxxx> wrote:
> Am Dienstag, 9. Mai 2006 16:47 schrieb Johannes Hofmann:
>> joerg@xxxxxxxxxxxxxxxxx wrote:
>> > On Tue, May 09, 2006 at 01:07:56PM +0200, Thomas Schlesinger wrote:
>> >> Hi,
>> >>
>> >> is there a tool available to set the processor speed (not the
>> >> throttling) for Pentium-M CPUs?
>> >
>> > Noone ported EST support AFAIK.
>>
>> I have est working here, but the port is pretty crude and I don't
>> have time now to clean it up or update it to the newest version.
>> You can find what I got at
>> http://www.ecademix.com/JohannesHofmann/est_dfbsd.tar.gz
>> http://www.ecademix.com/JohannesHofmann/estctrl-0.7_dfbsd.tar.gz
>>
>>  Johannes
> 
> Johannes,
> 
> thank you very much!
> 
> A make for esctrl gives me this error:
> Warning: Object directory not changed from 
> original /home/thomas/Downloads/est/estctrl-0.7
> cc -O -pipe -mtune=pentiumpro   -Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls  -c 
> estctrl.c
> estctrl.c: In function `readtimes':
> estctrl.c:85: warning: unused variable `i'
> estctrl.c:86: warning: unused variable `error'
> cc -O -pipe -mtune=pentiumpro   -Wunknown-pragmas -Wsystem-headers -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls   -o 
> estctrl estctrl.o
> estctrl.o(.text+0x15): In function `readtimes':
> : undefined reference to `kinfo_get_sched_cputime'
> *** Error code 1

You can just invoke the linker command (the last one) manually and 
add "-lkinfo". That's what I meant with "crude" :-)

> 
> I've looked into the Makefile and saw a required includefile "bsd.prog.mk". 
> Where can I get it? The file from pkgsrc/bootstrap/bmake/mk/bsd.prog.mk seems 
> not to work.
> 
> Thomas 



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