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

Issue 2765573003: Add Internal Tasks to the Task Scheduler (Closed)

Created:
3 years, 9 months ago by robliao
Modified:
3 years, 9 months ago
Reviewers:
fdoray, gab
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Internal Tasks to the Task Scheduler The Task Scheduler will start generating internal tasks with COM. These shouldn't be logged or tracked against actual work, so the task tracker handles these separately from normal tasks. Reference Changelist: https://codereview.chromium.org/2762703002 BUG=662122

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix Line Break #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -53 lines) Patch
M base/task_scheduler/task.h View 3 chunks +12 lines, -1 line 0 comments Download
M base/task_scheduler/task.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M base/task_scheduler/task_tracker.cc View 1 3 chunks +25 lines, -17 lines 0 comments Download
M base/task_scheduler/task_tracker_unittest.cc View 3 chunks +65 lines, -30 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (2 generated)
robliao
3 years, 9 months ago (2017-03-20 20:32:36 UTC) #2
gab
Hmmm, need to think about this some more, sounds scary to hide tasks from tracing ...
3 years, 9 months ago (2017-03-20 20:38:23 UTC) #3
robliao
> Hmmm, need to think about this some more, sounds scary to hide tasks from ...
3 years, 9 months ago (2017-03-20 21:17:15 UTC) #5
chromium-reviews
If they're not a big deal then it won't matter, if they're a big deal, ...
3 years, 9 months ago (2017-03-20 21:33:18 UTC) #6
robliao
Sounds good. I'll skip the hiding portion and we'll post tasks as are. On Mon, ...
3 years, 9 months ago (2017-03-20 21:40:22 UTC) #7
robliao
3 years, 9 months ago (2017-03-21 23:09:22 UTC) #8
Message was sent while issue was closed.
On 2017/03/20 21:40:22, robliao wrote:
> Sounds good. I'll skip the hiding portion and we'll post tasks as are.
> 
> On Mon, Mar 20, 2017 at 2:33 PM, Gabriel Charette <mailto:gab@google.com>
wrote:
> 
> > If they're not a big deal then it won't matter, if they're a big deal,
> > then we want to know, so... I could see an argument for special FROM_HERE
> > plumbing but don't think we should hide. We can hide later if it's really a
> > nuisance in a given tool but not off the bat.
> >
> > Le lun. 20 mars 2017 17:17, <mailto:robliao@chromium.org> a écrit :
> >
> >> > Hmmm, need to think about this some more, sounds scary to hide tasks
> >> from
> >> tracing and other tools, what kind of internal tasks did you have in mind?
> >>
> >> The way we're going to pump messages for COM is to post a task that pumps
> >> a
> >> single message. These weren't created by the user, so it could be
> >> unexpected to
> >> show them in tracing.
> >>
> >> At the same time, I can see an argument for this for COM callbacks. Maybe
> >> we
> >> should report but track them slightly differently?
> >>
> >>
> >>
> >> https://codereview.chromium.org/2765573003/diff/1/base/
> >> task_scheduler/task_tracker.cc
> >> File base/task_scheduler/task_tracker.cc (right):
> >>
> >> https://codereview.chromium.org/2765573003/diff/1/base/
> >> task_scheduler/task_tracker.cc#newcode288
> >> base/task_scheduler/task_tracker.cc:288: // until
> >> On 2017/03/20 20:38:23, gab wrote:
> >> > wrap
> >>
> >> Done.
> >>
> >> https://codereview.chromium.org/2765573003/
> >>
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups
> "Chromium-reviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.

Closing this for now. We can add this in if the internal tasks turn out to cause
tracing issues.

Powered by Google App Engine
This is Rietveld 408576698