Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - 4.5.1 20081104 - Application Profiler - wrong accounting: (6 Items)
   
4.5.1 20081104 - Application Profiler - wrong accounting  
I am using AppProf importing a session from a given k-trace.
when I  now compare the numbers given by AppProf for a certain Thread with the numbers that are shown for this thread 
within SP Event Owner stats, they do not match.
Looks like there is kind of an offset within the thread numbers by two.
If it would have been by 1, I would say that the tid adjustment that is needed for 6.3.2 and IDE is missing.
But it is 2, so maybe the tid adjustment is done with a wrong sign + instead of - 1
/hp
Re: 4.5.1 20081104 - Application Profiler - wrong accounting  
I am not 100% sure whether the problem is exactly like I've discribed,
but the reported numbers in time are realy strange and do not match those reported in CPU usage.
So in AppProf I see bigger shallow numbers than the thread runs in total.
/hp
Re: 4.5.1 20081104 - Application Profiler - wrong accounting  
Instrumented run is not really applicable to multi-thread process because it does not take into account context switches
 right now.
I.e. numbers would not match with system profiler.

Hans-Peter Reichert wrote:
> I am not 100% sure whether the problem is exactly like I've discribed,
> but the reported numbers in time are realy strange and do not match those reported in CPU usage.
> So in AppProf I see bigger shallow numbers than the thread runs in total.
> /hp
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post16192
> 
Re: 4.5.1 20081104 - Application Profiler - wrong accounting  
if this is the problem,
why is "Execution Time" using the thread objects as top most elements?
this is implying wrong associations.
Re: 4.5.1 20081104 - Application Profiler - wrong accounting  
It records events that belong to threads independently. In case if threads are not running truly in parallel it would 
produce right results.
But it should consider context switches to be useful for multithreaded apps. I opened a report about it.

Hans-Peter Reichert wrote:
> if this is the problem,
> why is "Execution Time" using the thread objects as top most elements?
> this is implying wrong associations.
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post16196
> 
AW: 4.5.1 20081104 - Application Profiler - wrong accounting  
OK - thanks
/hp 

>-----Ursprüngliche Nachricht-----
>Von: Elena Laskavaia [mailto:community-noreply@qnx.com] 
>Gesendet: Freitag, 7. November 2008 16:47
>An: general-ide
>Betreff: Re: 4.5.1 20081104 - Application Profiler - wrong accounting
>
>It records events that belong to threads independently. In 
>case if threads are not running truly in parallel it would 
>produce right results.
>But it should consider context switches to be useful for 
>multithreaded apps. I opened a report about it.
>
>Hans-Peter Reichert wrote:
>> if this is the problem,
>> why is "Execution Time" using the thread objects as top most 
>elements?
>> this is implying wrong associations.
>> 
>> 
>> _______________________________________________
>> General
>> http://community.qnx.com/sf/go/post16196
>> 
>
>_______________________________________________
>General
>http://community.qnx.com/sf/go/post16200
>
> 
 
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser, Regis Baudot
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad | 
Local Court Mannheim: Register No. 361395

 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat 
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail
. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have 
received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************