Re: [maemo-developers] Optimized memory copying functions for Nokia 770
Siarhei Siamashka wrote: ... It is strange that such 16-byte alignment trick was neither used in uclibc nor in glibc until now. One more option is that this improvement is only Nokia 770 specific and nobody else ever encountered it or had to use. Well, do we really care anyway? ;) Now I just really badly want to see the benchmark results from some other cpu, preferably intel xscale :) Just got report from running my test on Sharp Zaurus SL-C760: --- running correctness tests --- all the correctness tests passed --- running performance tests (memory bandwidth benchmark) ---: memset() memory bandwidth: 80.35MB/s memset8() memory bandwidth: 83.55MB/s memcpy() memory bandwidth (perfectly aligned): 45.29MB/s memcpy16() memory bandwidth (perfectly aligned): 45.20MB/s memcpy() memory bandwidth (16-bit aligned): 43.15MB/s memcpy16() memory bandwidth (16-bit aligned): 38.27MB/s --- testing performance for random blocks (size 0-15 bytes) --- memset time: 0.960 memset8 time: 0.880 --- testing performance for random blocks (size 0-511 bytes) --- memset time: 3.840 memset8 time: 3.670 So memory copying functions on Zaurus are already optimal for this Zaurus and my implementation only causes performance degradation :) There are two possibilities now: 1. This particular Zaurus has a much better memcpy implementation worth looking at 2. Optimizations for memcpy are very cpu dependant and good code for Nokia does not necessery work good for Zaurus and vice versa. PS. Nokia seems to have a much faster memory than Zaurus by the way :) ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Re: About Ubuntu installer import into Rosetta
ਸ਼ੁੱਕਰਵਾਰ 17 ਮਾਰਚ 2006 16:02 ਨੂੰ, Jordi Mallach ਨੇ ਲਿਖਿਆ: On Fri, Mar 17, 2006 at 03:34:53PM +0530, A S Alam wrote: 1) rename ALL current pa or pa_IN translations to pan. This needs: - create a pan_IN locale - change the PO file name in all projects (either pa-pan or pa_IN-pan) - have users switch from pa_IN locale environments to pan_IN +1 2) keep pa for Eastern Punjabi. This means: - rename D-I translations from pa_IN to pa - slightly change the localechooser but this is most widely used in projects, it may be very difficult to change in all projects You mean pa is widely used in projects, right? As far as I can tell, I only have pa translations installed in my sid box. I don't favour 3) because the difference are actually not only in two ways of writing the same language. but it is, Punjabi is SAME language but ONLY way to write is different. We seem to have two views on this. Christian says there's big divergences between Western and Easter Punjabi, but you say it's just the script. sorry, but that is true, I m from Eastern Punjabi (pa) and able to Understand what Western Punjabi person will SPEAK, but not able to Read and Reverse is True this is about Punjabi Language http://en.wikipedia.org/wiki/Punjabi_language this is People of Punjab (means speaker) http://en.wikipedia.org/wiki/Punjabis If that's true, we can just go with a charset modificator for western. We need to be sure, though. If not necessary, I would try to avoid changing the current status quo for Eastern Punjabi, ie, keep using pa unless there's a strong reason not to. I agree with this regards Jordi -- A S Alam Either find a way or make one ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Re: Measuring power consumption of 770
On Thursday 16 March 2006 00:22, Larry Battraw wrote: I concur; measuring the voltage and current simultaneously (And rapidly) is critical. If I can make the 770 work with only the battery charger (using a kind of bypass instead of the battery), I could use my multimeter for electrical sockets to measure the power consumption of the device... A multimeter for the electrical socket is cheap, and does not require to play with resistors and the Ohm law. As I told you, the problem is that when the battery charger is plugged in but the battery is not, the 770 does not work (and it makes sense, since it is a *battery* charger, and not a power supply for the 770). So, my question is: any idea about how to bypass the battery, making the 770 work with just the battery charger ? Many thanks for your help. Best, Claudio -- _ Claudio Scordino Computer Science Department Ph.D. student University of Pisa, Italy Office: 341 Phone: +39 050 221 3137 e-mail: [EMAIL PROTECTED] home-page: http://www.di.unipi.it/~scordino/ _ ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Re: Measuring power consumption of 770
hi, On Fri, 2006-03-17 at 15:44 +0100, ext Claudio Scordino wrote: On Thursday 16 March 2006 00:22, Larry Battraw wrote: I concur; measuring the voltage and current simultaneously (And rapidly) is critical. If I can make the 770 work with only the battery charger (using a kind of bypass instead of the battery), I could use my multimeter for electrical sockets to measure the power consumption of the device... A multimeter for the electrical socket is cheap, and does not require to play with resistors and the Ohm law. As I told you, the problem is that when the battery charger is plugged in but the battery is not, the 770 does not work (and it makes sense, since it is a *battery* charger, and not a power supply for the 770). So, my question is: any idea about how to bypass the battery, making the 770 work with just the battery charger ? I repeat this only because you might have missed my previous advice. You DO want to use the battery, _without_ the charger. igor Many thanks for your help. Best, Claudio -- Igor Stoppa, Nokia M / Tampere Finland ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: Measuring power consumption of 770
Claudio Scordino [EMAIL PROTECTED] writes: If I can make the 770 work with only the battery charger (using a kind of bypass instead of the battery), I could use my multimeter for electrical sockets to measure the power consumption of the device... A multimeter for the electrical socket is cheap, and does not require to play with resistors and the Ohm law. Actually, there's much more at the mains side to be taken into account than at the battery side - not less. If you're going to use a cheap energy meter for small and possibly non-resistive loads like that, you might as well pick a few random numbers from the phone book instead. And if you're going to measure current and think you get real power consumption by multiplying it by the voltage, the same applies (that's what those devices (mostly) do). If you don't know how to measure at the battery, don't even think about measuring at the mains power. - Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: Virtual Keyboard and hiding AutoComplete content
The changed signal seems to be fired whenever a character is entered with the VK input method. I haven't seen the VK input method use the other two signals. However, I don't think this is the case with the handwriting input method, and I believe that it uses all three events. With the handwriting input method, it only sends the changed signal when the user completes a word. Unfortunately, the only way to debug using the handwriting input method is on the device itself. Aaron On Thu, 16 Mar 2006, Antonio Gomes wrote: Could anybody explain me in which situations the virtual keyboard preedit_* (start, end, changed) signals are fired ? When are they usefull ? --Antonio On 3/13/06, Antonio Gomes [EMAIL PROTECTED] wrote: Hi, Sometime ago I sent an e-mail asking about hiding input text from non-gtk widgets. I've got some progress but I stock on hiding the autocomplete widget/service content (this is the one under the virtual keyboard (when it's in show-mode) that tries to guess the word we are typing, getting you some possible candidates to be autocompleted). Is there a way to manually force the hiding of its content (in the case of typing passwords) using the GtkIMContext ? Well, gtk_entry_set_visibility (entry, TRUE) is enough to do the trick, but I can't use this once I don't have a gtk_entry_widget, but a mozilla-html-form instead. So how could it it be got ? Is it possible, at least ? ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers