Closed Bug 1214924 Opened 9 years ago Closed 9 years ago

Add "WindowServer" and "kernel" processes to |mach power|'s output

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

In bug 984961 BenWa pointed out that |mach power|'s output could include
the WindowServer process. Likewise, kernel processes seem worth reporting.
Here's some sample output with Firefox and Safari running. It shows the
WindowServer and kernel processes and coalitions.

>     total W = _pkg_ (cores + _gpu_ + other) + _ram_ W
> #01  4.86 W =  3.52 ( 0.57 +  0.00 +  2.95) +  1.33 W
> 
> 1 sample taken over a period of 30.000 seconds
> 
> Name                               ID     CPU ms/s  User%  Deadlines (<2 ms, 2-5 ms)  Wakeups (Intr, Pkg idle)  GPU ms/s
> org.mozilla.firefox                445    50.47                                       218.91  182.32            0.00      
>   firefox                          42060  50.71     64.81  2.00    175.70             218.88  182.33            0.00      
> com.apple.Safari                   481    76.51                                       15.59   11.89             0.00      
>   com.apple.WebKit.WebContent      13204  35.59     88.26  0.47    0.00               8.43    7.00              0.00      
>   com.apple.WebKit.Networking      13205  34.71     51.22  0.00    0.00               2.83    1.93              0.00      
>   Safari                           13202  6.00      69.98  0.00    0.00               1.87    1.23              0.00      
>   com.apple.WebKit.WebContent      13208  0.24      39.72  0.00    0.00               0.90    0.67              0.00      
>   com.apple.WebKit.WebContent      13209  0.18      39.81  0.00    0.00               0.73    0.53              0.00      
>   com.apple.WebKit.WebContent      13210  0.18      38.77  0.00    0.00               0.83    0.53              0.00      
> kernel_coalition                   1      34.60                                       213.71  144.17            0.00      
>   kernel_task                      0      32.09     0.00   3.23    0.23               213.45  144.01            0.00      
> com.apple.Terminal                 109    5.22                                        0.60    0.43              0.00      
>   Terminal                         208    5.03      91.37  0.00    0.00               0.53    0.37              0.00      
> com.apple.WindowServer             68     2.09                                        15.23   14.33             0.00      
>   WindowServer                     141    2.09      41.84  12.76   1.37               15.23   14.33             0.00      
> com.apple.WebKit.Plugin.64         482    0.06                                        0.57    0.33              0.00      
>   com.apple.WebKit.Plugin.64       13213  0.06      40.11  0.00    0.00               0.57    0.33              0.00
Attachment #8673950 - Flags: review?(bgirard)
Attachment #8673950 - Flags: review?(bgirard) → review+
https://hg.mozilla.org/mozilla-central/rev/e41c7813495a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: