Gervais Mulongoy
|
Re: Calculating total sleep time in a thread using the IDE
|
Gervais Mulongoy
07/26/2010 3:32 PM
post60638
|
Re: Calculating total sleep time in a thread using the IDE
Thanks Elena I think this is this is the best option.
Cheers,
Gervais
On 07/26/10 15:31, Elena Laskavaia wrote:
> You can get statistics on how much your process spent in each state
> using statics view.
> I don't have sys profiler handy to check exact name of the view but it
> should be somewhere...
>
>
> Gervais Mulongoy wrote:
>> Hello Andy,
>>
>> How about in the system profiler perspective, the system summary view
>> section called "process& thread activity". There are two columns, one
>> called Blocked Time and the other called Blocked Time (sum). I would
>> image this keeps track of time spent blocked and also sleep states?
>>
>> Thanks,
>>
>> Gervais
>>
>> On 07/26/10 14:46, Andy Jin wrote:
>>
>>> In the System Information "Process Information" view, the thread details
>>> pane has the thread "Start Time" and the total "CPU Time". You can do
>>> this
>>>
>>> Current time - Start Time - CPU Time = ideal time
>>>
>>> I don't know how accurate it is, just by theory.
>>>
>>> -----Original Message-----
>>> From: Gervais Mulongoy<community-noreply@qnx.com>
>>> Reply-to: post60624@community.qnx.com
>>> To: general-ide<post60624@community.qnx.com>
>>> Subject: Calculating total sleep time in a thread using the IDE
>>> Date: Mon, 26 Jul 2010 14:38:19 -0400 (EDT)
>>>
>>> I am looking for a tip on how to quickly calculate the total sleep time for a thread using the IDE. Any ideas?
>>>
>>> Thanks,
>>>
>>> Gervais
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post60624
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post60626
>>>
>>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post60635
>>
>>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post60636
>
|
|
|
Gervais Mulongoy
|
Re: Calculating total sleep time in a thread using the IDE
|
Gervais Mulongoy
07/26/2010 4:02 PM
post60646
|
Re: Calculating total sleep time in a thread using the IDE
Actually if I go under the system profiler summary view, refreshing
the event owner statistics tab provides the information I was looking for.
The key was hitting refresh first to populate the view. That's what I
was missing and so thought the information could be retrieved elsewhere.
Thanks again!
On 07/26/10 15:31, Elena Laskavaia wrote:
> You can get statistics on how much your process spent in each state
> using statics view.
> I don't have sys profiler handy to check exact name of the view but it
> should be somewhere...
>
>
> Gervais Mulongoy wrote:
>> Hello Andy,
>>
>> How about in the system profiler perspective, the system summary view
>> section called "process& thread activity". There are two columns, one
>> called Blocked Time and the other called Blocked Time (sum). I would
>> image this keeps track of time spent blocked and also sleep states?
>>
>> Thanks,
>>
>> Gervais
>>
>> On 07/26/10 14:46, Andy Jin wrote:
>>
>>> In the System Information "Process Information" view, the thread details
>>> pane has the thread "Start Time" and the total "CPU Time". You can do
>>> this
>>>
>>> Current time - Start Time - CPU Time = ideal time
>>>
>>> I don't know how accurate it is, just by theory.
>>>
>>> -----Original Message-----
>>> From: Gervais Mulongoy<community-noreply@qnx.com>
>>> Reply-to: post60624@community.qnx.com
>>> To: general-ide<post60624@community.qnx.com>
>>> Subject: Calculating total sleep time in a thread using the IDE
>>> Date: Mon, 26 Jul 2010 14:38:19 -0400 (EDT)
>>>
>>> I am looking for a tip on how to quickly calculate the total sleep time for a thread using the IDE. Any ideas?
>>>
>>> Thanks,
>>>
>>> Gervais
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post60624
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post60626
>>>
>>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post60635
>>
>>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post60636
>
|
|
|