On Mon, Oct 1, 2012 at 3:14 PM, rustyBSD <[email protected]> wrote:
> On 10/01/12 08:22, Vincent Torri wrote:
>>
>> maybe this could help you :
>>
>> http://stackoverflow.com/questions/4226353/show-memory-and-cpu-in-c
>>
>> Vincent
>
> ?
I have seen that :
printf("CPU: %d MHz Free: %ld MB\n", cpuspeed,
sysconf(_SC_AVPHYS_PAGES)*sysconf(_SC_PAGESIZE))>>20
so it displays the freq in Mhz, no ?
> There is no problem when getting the frequency.
> The only difference with linux is that instead
> of displaying available frequencies (in the menu),
> we display 25-50-75-100% - as we can only set
> percents.
>
> We unfortunately cannot get available levels, so
> we don't know what is the max/min frequency
> available for the processor, and it sometimes
> causes problem with the speedcounter, which
> doesn't know where to place the freq in the
> counter.
>
> PS: I forgot to mention that the freebsd support
> is broken.
>
> Here are patches again. This time it's really ok,
> I also quickly modified the freebsd code.
thanks i'll check that this evening
Vincent
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel