Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Sat Nov 18, 2017 6:08 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Mar 08, 2010 4:06 am 
Offline

Joined: Wed Aug 19, 2009 3:43 am
Posts: 7
Can anyone recommend a good tool for measuring CPU usage of applications on the TREQ-M4?

At a minimum, a Task Manager-like tool would be useful. The only one I've found that works at all on the M4 is this one: http://www.vttoth.com/LPK/TASKMGR_CE5/index.html. However, it's built for CE 5.0 and I don't trust it completely (e.g. the "Performance" tab shows a completely wrong number of threads in the system and I suspect that it sometimes attributes CPU usage to the wrong application).

A fully-fledged function or line-level profiler would be great too, if there is a good one around.

Thanks,
Kenn


Top
 Profile  
 
PostPosted: Tue Mar 09, 2010 2:16 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 10:20 am
Posts: 38
Kenn,

I'm not familiar with any at the moment. I'll make sure to keep it in mind though, and post a reply if I find something.


Top
 Profile  
 
PostPosted: Wed Jun 02, 2010 10:43 am 
Offline
User avatar

Joined: Thu Jan 14, 2010 10:20 am
Posts: 38
You may have already known about it, and I'm not sure if it will do what you want, but a command line utility is available for viewing information about running processes:

Instead of running "cmd" from the start->run menu instead run:
"shell -c"

You'll then be presented with a new shell where you can execute various commands. Some that are relevant to your original questions may be:

gi proc
gi delta

Hopefully this may help.


Top
 Profile  
 
PostPosted: Thu Jul 29, 2010 3:10 pm 
Offline

Joined: Fri Jun 05, 2009 2:29 pm
Posts: 3
There are tools by Microsoft for platformbuilder, which is now an add on to VS2005. They include a Remote Call Profiler, Kernel Tracker, and Performance Monitor. If you are just looking for basic task manager stuff, you can download and run either of these -
http://www.vttoth.com/LPK/taskmanager.html
http://www.dotfred.net/TaskMgr.htm

These guys have a compact framework profiler, never tried it though.
http://www.eqatec.com/tools/profiler/

Here are Windows CE 6.0 downloads. Download and install in the order below. They are all ISO images. I used this tool to simply mount the images directly rather than burn DVDs, http://www.magiciso.com/tutorials/miso- ... erview.htm.

Once you download you need to connect to the TREQ-M4 over serial active sync. The tools install in VS2005 in a new Target menu. TREQ-M4 doesn't show in the connection dialogs, you have to use the "Windows CE Default Platform"->Default Device and configure it to use active sync. I also had to copy some tools oinstalled on my desktop from an ...\ARM4V to an ...\ARM4Vi folder. I don't recall the full paths but you can google the error. The link I had detailing the paths went dead - FWIW here it is http://www.microsoft.com/communities/ne ... &sloc=&p=1



Windows CE 6.0
http://www.microsoft.com/downloads/deta ... laylang=en

Windows CE 6.0 SP 1
http://www.microsoft.com/downloads/deta ... laylang=en

Windows CE 6.0 R2
http://www.microsoft.com/downloads/deta ... laylang=en

Windows CE 6.0 R3
http://www.microsoft.com/downloads/deta ... laylang=en


Top
 Profile  
 
PostPosted: Thu Aug 12, 2010 9:53 am 
Offline

Joined: Wed Aug 19, 2009 3:43 am
Posts: 7
Thanks. A combination of Remote Performance Monitor (for coarse-grained data) and Kernel Tracker (for fine-grained analysis) are working for me.

Later,
Kenn


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group