Re: [maemo-developers] Optimized memory copying functions for Nokia 770

2006-03-14 Thread Tomas Frydrych
There seems to be no source for the functions in the tarball. Tomas Siarhei Siamashka wrote: Hello All, Here are the optimized memory copying functions for Nokia 770 (memset is more than twice faster, memcpy improves about 10-40% depending on relative data blocks alignment).

RE: [maemo-developers] Optimized memory copying functions for Nokia770

2006-03-14 Thread Dirk-Jan.Binnema
T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext Tomas Frydrych Sent: Tuesday, March 14, 2006 11:23 To: maemo-developers@maemo.org Subject: Re: [maemo-developers] Optimized memory copying functions for Nokia770 There seems to be no source for

Re: [maemo-developers] Optimized memory copying functions for Nokia 770

2006-03-14 Thread Siarhei Siamashka
Tomas Frydrych wrote: There seems to be no source for the functions in the tarball. Siarhei Siamashka wrote: Hello All, Here are the optimized memory copying functions for Nokia 770 (memset is more than twice faster, memcpy improves about 10-40% depending on relative data blocks

[maemo-developers] Measuring power consumption of 770

2006-03-14 Thread Claudio Scordino
Hi all. We have a Nokia 770, and we want to study the effectiveness of some algorithms that reduce the number of transferred data in order to reduce the overall energy consumption of the device. To make this study, we need a way to measure the energy consumption of the device or, at least, an

Re: [maemo-developers] Optimized memory copying functions for Nokia 770

2006-03-14 Thread Tomas Frydrych
Like Dirk already replied, the implementation is in macros in the .h file. I see. That makes the comparison with memcpy somewhat unfair, since you are not actually providing replacement functions, so this would only make difference for -O3 type optimatisation (where you trade speed for size);

Re: [maemo-developers] Measuring power consumption of 770

2006-03-14 Thread Frantisek Dufka
Claudio Scordino wrote: Does anybody have an idea about how to make the Nokia 770 work without the battery (just with the electric cable) or how to make such a measurement ? When the battery is fully charged you can start measuring current in the cable since the battery is probably not

Re: [maemo-developers] Optimized memory copying functions for Nokia 770

2006-03-14 Thread Eero Tamminen
Hi, That makes the comparison with memcpy somewhat unfair, since you are not actually providing replacement functions, so this would only make difference for -O3 type optimatisation (where you trade speed for size); it would be interesting to see what the performance difference is if you add

Re: [maemo-developers] Measuring power consumption of 770

2006-03-14 Thread Igor Stoppa
On Tue, 2006-03-14 at 14:53 +0100, ext Claudio Scordino wrote: Hi all. We have a Nokia 770, and we want to study the effectiveness of some algorithms that reduce the number of transferred data in order to reduce the overall energy consumption of the device. To make this study, we need

Re: [maemo-developers] Optimized memory copying functions for Nokia 770

2006-03-14 Thread Siarhei Siamashka
Tomas Frydrych wrote: Like Dirk already replied, the implementation is in macros in the .h file. I see. That makes the comparison with memcpy somewhat unfair, since you are not actually providing replacement functions, so this would only make difference for -O3 type optimatisation (where you

Re: [maemo-developers] Optimized memory copying functions for Nokia 770

2006-03-14 Thread Siarhei Siamashka
Eero Tamminen wrote: That makes the comparison with memcpy somewhat unfair, since you are not actually providing replacement functions, so this would only make difference for -O3 type optimatisation (where you trade speed for size); it would be interesting to see what the performance

Re: [maemo-developers] How to keep app running indefinitely

2006-03-14 Thread Steven Hill
On Tue, 2006-14-03 at 09:04 +0200, Kalle Valo wrote: Steven Hill [EMAIL PROTECTED] writes: Good. But actually disabling the idle timer is just a workaround. It seems that the real problem is the application crashing whenever a disconnect from a network happens. I agree, but it is not

Re: [maemo-developers] Measuring power consumption of 770

2006-03-14 Thread Claudio Scordino
On Tuesday 14 March 2006 16:31, Frantisek Dufka wrote: Claudio Scordino wrote: Does anybody have an idea about how to make the Nokia 770 work without the battery (just with the electric cable) or how to make such a measurement ? When the battery is fully charged you can start measuring

[maemo-developers] CACAO

2006-03-14 Thread Philippe Laporte
Hi, The CACAO vm has executed the Knopflerfish OSGI (http://www.knopflerfish.org) test suite with one failure, the same as with Sable and Jam. All VMs use Classpath. No AWT tests were executed. It's nice that CACAO has so many JIT ports. We haven't done any perfomance benchmarks yet

Re: [maemo-developers] Measuring power consumption of 770

2006-03-14 Thread Heike C. Zimmerer
Claudio Scordino [EMAIL PROTECTED] writes: The voltage and the current provided by the battery is much different from the values provided by an electric cable connected to a socket (220V and 50Hz here in Italy). That's why our measurement tools wouldn't work with such a small current... Umm

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Benjamin Zeller
You are right the maemo-af-desktop handles the key. I already written a patch where you can switch off the home button by sending a DBus Message to maemo-af-desktop. But you have to create a new rootfs and flash it to your nokia. If you need the patch send me a email. BTW the patch is for the

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Ramiro Estrugo
I am using the 1.1 version of the maemo sdk release. Do I need something even newer, from svn ? -re Kalle Vahlman wrote: The key snooper was installed in hildon-home/hildon-home-main.c:hildon_home_main(), but it was removed at 2005-08-30 Karoliina Salminen [EMAIL PROTECTED] *

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Ramiro Estrugo
Yes I know thats how it works, which is why Im asking how to hack it. And yes, I realize i want to do something evil, perhaps. But, its for my own personal app and amusement. -re Tapani Pälli wrote: HOME-key is special. HOME button should always take you to home whatever the situation is

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Kalle Vahlman
On 3/15/06, Ramiro Estrugo [EMAIL PROTECTED] wrote: So my question is where is the code in maemo_af_desktop that catches the GDK_F5 and turns into some kind of message so that I can comment it out ? The key snooper was installed in hildon-home/hildon-home-main.c:hildon_home_main(), but it was