Author Topic: Version updates!  (Read 177800 times)

Offline dl.zerocool

  • long
  • ***
  • Posts: 104
    • View Profile
Re: Version updates!
« Reply #90 on: June 07, 2010, 01:05:53 am »
What do you mean by profile (Does it mean examine ? sry my mother tongue is French & Portuguese) , and how can I do that ?
Have you a link to some tutorial or some explanation about it ?

[Edit]

I can't share yet the source code, but it will be shared soon as an Google project available trough svn.

But I need firstly to made the presentation to my classroom with my classmates and co-workers.
Because teachers judge us on the presentation and until then the code remains the school property.

And then I'll have my annually exams so I'll be very short in time to do this things.

But everything, included all resources will be shared asap.
« Last Edit: June 07, 2010, 01:08:44 am by dl.zerocool »

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Version updates!
« Reply #91 on: June 07, 2010, 01:18:37 am »
right, profiling is analysing the program while running.

in eclipse, open the android devices tab (window|show view|other|android|devices) and you will see profiling options there. your phone need to be connected to your computer

Offline dl.zerocool

  • long
  • ***
  • Posts: 104
    • View Profile
Re: Version updates!
« Reply #92 on: June 08, 2010, 03:38:35 pm »
Okay is on the DDMS view, I already use this,

but it only profiles the memory, objects created etc..

What I would like is to see which function is time consuming on CPU.

Which functions are called too often.

Without having to print each time I make a call...

Offline dl.zerocool

  • long
  • ***
  • Posts: 104
    • View Profile
Re: Version updates!
« Reply #93 on: June 08, 2010, 03:49:09 pm »
I'm going to use this to view what is time consuming :)
Thank you for the word "profile / profiling" the only know I knew was profiler... who in my head is more related
to police tv shows... It's much more easy to find answer to my questions now.

http://developer.android.com/guide/developing/tools/traceview.html


Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Version updates!
« Reply #94 on: June 08, 2010, 04:26:49 pm »
but it only profiles the memory, objects created etc..
What I would like is to see which function is time consuming on CPU.
it gives the function times in detail ???

indeed it generates the same report in your post. but without the need to invoke any code..
« Last Edit: June 08, 2010, 04:30:04 pm by raft »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Version updates!
« Reply #95 on: June 08, 2010, 10:32:20 pm »
I'm still using the 1.5 SDK/plugin...and i can't find any useful profiling option in that device tab... ???

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Version updates!
« Reply #96 on: June 08, 2010, 10:56:55 pm »
that's weird ??? we are talking about the same plugin for eclipse 3.5, right ?
http://developer.android.com/sdk/eclipse-adt.html

maybe it's only available for linux ?

here is a screenshot:

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Version updates!
« Reply #97 on: June 08, 2010, 11:08:24 pm »
Yes, that one. But as said, i'm still using the 1.5 version because it was difficult enough to make it work with Samsung and don't want to have to do it again right now. This is all there is:

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Version updates!
« Reply #98 on: June 08, 2010, 11:14:22 pm »
mm, but AFAIK the plugin is not bound to any SDK version..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Version updates!
« Reply #99 on: June 08, 2010, 11:28:26 pm »
No idea, but the ddms (which i'm usually using) in the SDK distribution offers exactly the same options. Anyway, i don't miss it much...profiliers are for the weak... ;D

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Version updates!
« Reply #100 on: June 08, 2010, 11:35:47 pm »
if you say so.. chances arent that good but you may be missing the opportunity to double the performance ;D

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Version updates!
« Reply #101 on: June 08, 2010, 11:42:35 pm »
Unlikely... ;)...but maybe i'm going to give the new SDK a go on another machine when i find the time. I just don't want to lose phone support on my main machine, which is why i'm a but more cautious with upgrading than usual. It was a pain in the arse to get the USB connection to the phone working, because the driver isn't really good...it might have been improved, if the new SDK provides it's own driver for the Galaxy (which the old didn't), but i'm not sure about this...

Offline raft

  • quad
  • ******
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Version updates!
« Reply #102 on: June 08, 2010, 11:44:41 pm »
why not give linux (ubuntu for instance) a try ? it was a matter of plug and play with G1.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Version updates!
« Reply #103 on: June 09, 2010, 07:28:15 am »
The G1 is a matter of plug and play on Windows too...the Samsung needed some drivers from Samsung that were difficult to install. Linux isn't really an option for me. I tried it several times, installed Ubuntu for friends of mine and such and i just can't stand Linux on the desktop.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Version updates!
« Reply #104 on: June 14, 2010, 09:36:43 pm »
Another update that makes VBOs behave nicer and that fixes a flaw in the object compiler that caused too many Integer-instances being created where actually none were needed.