Re: how to serialize time spent in LWPs ?

From: danisment (danisment_at_yahoo.com)
Date: 06/29/03


Date: 29 Jun 2003 03:13:47 -0700

As a result,

is it possible to see microstate accounting statistics in process
level, not in the total of LWPs. Because, if I use the totals, they
exceed the wall clock time.

thanks in advance...

danisment@yahoo.com (danisment) wrote in message news:<2c78cfac.0306281008.6e3bad16@posting.google.com>...
> Hi,
>
> I'm getting some timing information by microstate accounting method.
> Here is an output from SE toolkit:
>
> At the begining of test:
> ------------------------
>
> Elapsed time 39:59.395 Current time Sat Jun 28 19:45:54
> 2003
> User CPU time 59.396 System call time 0.579
> System trap time 0.094 Text pfault sleep 0.000
> Data pfault sleep 0.000 Kernel pfault sleep 0.000
> User lock sleep 0.000 Other sleep time 34:14.505
> Wait for CPU time 4:44.824 Stopped time 0.000
>
> At the end of test:
> -------------------
>
> Elapsed time 6:44:38.108 Current time Sat Jun 28 20:25:02
> 2003
> User CPU time 6:45.273 System call time 5.817
> System trap time 0.632 Text pfault sleep 0.000
> Data pfault sleep 0.000 Kernel pfault sleep 0.000
> User lock sleep 4:52:57.031 Other sleep time 1:10:37.674
> Wait for CPU time 33:33.114 Stopped time 38.569
>
>
> This test took 39.27 minutes. But, as you see in the difference of
> each component(begin - end), some of them exceed the test interval. I
> guess these statistic values include totals of each LWP.
>
> I need to serialize the components to see exact time. I mean the
> statistics should not include cumulative values.
>
> The component should include the max value of LWP if multiple LWPs are
> in the same component. For example, let's say the following test takes
> 8 seconds to complete. And, each LWP takes the following times:
>
> LWP1 LWP2 LWP3
> ---- ---- ---- ----
> Sec| 2 5 8
>
>
> If I use the current settings, I found the total of 2+5+8=15 seconds.
> But, this test is completed in 8 seconds. What I need is the max
> value, which is 8, if there are multiple LWPs in the same components.
> If I can do that I can found serialized values in process level.
>
> If these are not possible, How can I disable threading ?
>
> thanks in advance...



Relevant Pages

  • Re: how to serialize time spent in LWPs ?
    ... not in the total of LWPs. ... >> I'm getting some timing information by microstate accounting method. ... >> guess these statistic values include totals of each LWP. ... >> statistics should not include cumulative values. ...
    (comp.unix.solaris)
  • Re: how to serialize time spent in LWPs ?
    ... isn't it possible to see real time spent of events in process level? ... If there are multiple LWPs, event times exceed the real time since ... Because, if I use the totals, they ...
    (comp.unix.solaris)