Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Issue 2933203002: [Chromoting] Use ProcessStatsSender in DesktopSessionAgent (desktop process) (Closed)

Created:
3 years, 6 months ago by Hzj_jie
Modified:
3 years, 6 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] Use ProcessStatsSender in DesktopSessionAgent (desktop process) Three new commands have been added to chromoting_messages to - Ask DesktopSessionAgent (desktop process) or Daemon to start reporting process resource usage through IPC channel back to network process. - Ask Desktop process or Daemon to stop reporting. - Report process usage to network process. So network process can decide whether it needs this information or not at runtime. BUG=650926 Review-Url: https://codereview.chromium.org/2933203002 Cr-Commit-Position: refs/heads/master@{#480652} Committed: https://chromium.googlesource.com/chromium/src/+/36763d8f9b73a039095f0dd5db88ee2e44f17d41

Patch Set 1 #

Total comments: 14

Patch Set 2 : Resolve review comments #

Patch Set 3 : Resolve review comments #

Total comments: 14

Patch Set 4 : Resolve review comments #

Total comments: 4

Patch Set 5 : Resolve review comments #

Total comments: 4

Patch Set 6 : Resolve review comments #

Total comments: 4

Patch Set 7 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -3 lines) Patch
M remoting/base/constants.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/host/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/chromoting_messages.h View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M remoting/host/chromoting_param_traits.h View 2 chunks +13 lines, -0 lines 0 comments Download
M remoting/host/chromoting_param_traits.cc View 1 chunk +40 lines, -0 lines 0 comments Download
M remoting/host/desktop_session_agent.h View 1 2 3 4 5 6 chunks +23 lines, -1 line 0 comments Download
M remoting/host/desktop_session_agent.cc View 1 2 3 4 5 9 chunks +38 lines, -1 line 0 comments Download
A remoting/host/desktop_session_agent_unittest.cc View 1 2 3 4 5 1 chunk +199 lines, -0 lines 0 comments Download
M remoting/host/process_stats_sender.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 64 (43 generated)
Hzj_jie
3 years, 6 months ago (2017-06-12 22:42:25 UTC) #5
joedow
https://codereview.chromium.org/2933203002/diff/1/remoting/host/chromoting_messages.h File remoting/host/chromoting_messages.h (right): https://codereview.chromium.org/2933203002/diff/1/remoting/host/chromoting_messages.h#newcode270 remoting/host/chromoting_messages.h:270: // Starts to report process resource usage. Do you ...
3 years, 6 months ago (2017-06-13 20:12:12 UTC) #8
Hzj_jie
https://codereview.chromium.org/2933203002/diff/1/remoting/host/chromoting_messages.h File remoting/host/chromoting_messages.h (right): https://codereview.chromium.org/2933203002/diff/1/remoting/host/chromoting_messages.h#newcode270 remoting/host/chromoting_messages.h:270: // Starts to report process resource usage. On 2017/06/13 ...
3 years, 6 months ago (2017-06-14 23:12:23 UTC) #16
joedow
https://codereview.chromium.org/2933203002/diff/1/remoting/host/chromoting_messages.h File remoting/host/chromoting_messages.h (right): https://codereview.chromium.org/2933203002/diff/1/remoting/host/chromoting_messages.h#newcode272 remoting/host/chromoting_messages.h:272: int32_t /* interval_ms */) On 2017/06/14 23:12:23, Hzj_jie wrote: ...
3 years, 6 months ago (2017-06-15 22:50:45 UTC) #19
Hzj_jie
Unfortunately the build has been broken by some others' change. But this CL has been ...
3 years, 6 months ago (2017-06-16 00:39:28 UTC) #24
joedow
lgtm https://codereview.chromium.org/2933203002/diff/60001/remoting/base/constants.h File remoting/base/constants.h (right): https://codereview.chromium.org/2933203002/diff/60001/remoting/base/constants.h#newcode26 remoting/base/constants.h:26: // This value is consistent with the update ...
3 years, 6 months ago (2017-06-16 22:23:17 UTC) #25
Hzj_jie
https://codereview.chromium.org/2933203002/diff/60001/remoting/base/constants.h File remoting/base/constants.h (right): https://codereview.chromium.org/2933203002/diff/60001/remoting/base/constants.h#newcode26 remoting/base/constants.h:26: // This value is consistent with the update interval ...
3 years, 6 months ago (2017-06-17 00:33:38 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2933203002/80001
3 years, 6 months ago (2017-06-17 03:32:15 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/466766)
3 years, 6 months ago (2017-06-17 03:41:51 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2933203002/80001
3 years, 6 months ago (2017-06-18 20:41:13 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/466901)
3 years, 6 months ago (2017-06-18 20:47:43 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2933203002/80001
3 years, 6 months ago (2017-06-18 20:49:56 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/466903)
3 years, 6 months ago (2017-06-18 20:56:24 UTC) #43
Hzj_jie
Daniel, would you please have a look at this change? I added a new IPC ...
3 years, 6 months ago (2017-06-18 20:59:44 UTC) #45
dcheng
Also, it doesn't seem like any non-test code is sending this yet. Is that in ...
3 years, 6 months ago (2017-06-19 06:22:59 UTC) #46
Hzj_jie
https://codereview.chromium.org/2933203002/diff/80001/remoting/base/constants.h File remoting/base/constants.h (right): https://codereview.chromium.org/2933203002/diff/80001/remoting/base/constants.h#newcode26 remoting/base/constants.h:26: const int kDefaultProcessStatsIntervalMs = 2000; On 2017/06/19 06:22:58, dcheng ...
3 years, 6 months ago (2017-06-19 18:46:43 UTC) #49
Hzj_jie
On 2017/06/19 18:46:43, Hzj_jie wrote: > https://codereview.chromium.org/2933203002/diff/80001/remoting/base/constants.h > File remoting/base/constants.h (right): > > https://codereview.chromium.org/2933203002/diff/80001/remoting/base/constants.h#newcode26 > ...
3 years, 6 months ago (2017-06-19 18:48:50 UTC) #50
dcheng
ipc lgtm https://codereview.chromium.org/2933203002/diff/100001/remoting/base/constants.cc File remoting/base/constants.cc (right): https://codereview.chromium.org/2933203002/diff/100001/remoting/base/constants.cc#newcode19 remoting/base/constants.cc:19: const base::TimeDelta kDefaultProcessStatsInterval = Nit: mark this ...
3 years, 6 months ago (2017-06-19 20:11:26 UTC) #53
Hzj_jie
https://codereview.chromium.org/2933203002/diff/100001/remoting/base/constants.cc File remoting/base/constants.cc (right): https://codereview.chromium.org/2933203002/diff/100001/remoting/base/constants.cc#newcode19 remoting/base/constants.cc:19: const base::TimeDelta kDefaultProcessStatsInterval = On 2017/06/19 20:11:26, dcheng wrote: ...
3 years, 6 months ago (2017-06-19 20:39:15 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2933203002/120001
3 years, 6 months ago (2017-06-19 23:46:37 UTC) #61
commit-bot: I haz the power
3 years, 6 months ago (2017-06-19 23:52:47 UTC) #64
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/36763d8f9b73a039095f0dd5db88...

Powered by Google App Engine
This is Rietveld 408576698