Home
last modified time | relevance | path

Searched refs:TaskTracker (Results 1 – 25 of 27) sorted by relevance

12

/external/libchrome/base/test/
Dtask_runner_test_template.cc11 TaskTracker::TaskTracker() : task_runs_(0), task_runs_cv_(&lock_) {} in TaskTracker() function in base::test::TaskTracker
13 TaskTracker::~TaskTracker() = default;
15 Closure TaskTracker::WrapTask(const Closure& task, int i) { in WrapTask()
16 return Bind(&TaskTracker::RunTask, this, task, i); in WrapTask()
19 void TaskTracker::RunTask(const Closure& task, int i) { in RunTask()
29 std::map<int, int> TaskTracker::GetTaskRunCounts() const { in GetTaskRunCounts()
34 void TaskTracker::WaitForCompletedTasks(int count) { in WaitForCompletedTasks()
Dtask_runner_test_template.h78 class TaskTracker : public RefCountedThreadSafe<TaskTracker> {
80 TaskTracker();
93 friend class RefCountedThreadSafe<TaskTracker>;
95 ~TaskTracker();
104 DISALLOW_COPY_AND_ASSIGN(TaskTracker);
112 TaskRunnerTest() : task_tracker_(new test::TaskTracker()) {} in TaskRunnerTest()
114 const scoped_refptr<test::TaskTracker> task_tracker_;
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc133 class TaskTracker::State {
216 struct TaskTracker::PreemptedBackgroundSequence {
248 TaskTracker::TaskTracker(StringPiece histogram_label) in TaskTracker() function in base::internal::TaskTracker
249 : TaskTracker(histogram_label, GetMaxNumScheduledBackgroundSequences()) {} in TaskTracker()
251 TaskTracker::TaskTracker(StringPiece histogram_label, in TaskTracker() function in base::internal::TaskTracker
303 TaskTracker::~TaskTracker() = default;
305 void TaskTracker::Shutdown() { in Shutdown()
318 void TaskTracker::FlushForTesting() { in FlushForTesting()
326 void TaskTracker::FlushAsyncForTesting(OnceClosure flush_callback) { in FlushAsyncForTesting()
341 bool TaskTracker::WillPostTask(Task* task) { in WillPostTask()
[all …]
Dtask_tracker.h93 class BASE_EXPORT TaskTracker {
100 TaskTracker(StringPiece histogram_label);
101 TaskTracker(StringPiece histogram_label,
104 virtual ~TaskTracker();
190 TrackedRef<TaskTracker> GetTrackedRef() { in GetTrackedRef()
357 TrackedRefFactory<TaskTracker> tracked_ref_factory_;
359 DISALLOW_COPY_AND_ASSIGN(TaskTracker);
Dservice_thread.h17 class TaskTracker; variable
31 explicit ServiceThread(const TaskTracker* task_tracker);
47 const TaskTracker* const task_tracker_;
Dscheduler_worker_pool.h22 class TaskTracker; variable
61 SchedulerWorkerPool(TrackedRef<TaskTracker> task_tracker,
69 const TrackedRef<TaskTracker> task_tracker_;
Dscheduler_worker_unittest.cc264 TaskTracker task_tracker_ = {"Test"};
423 ControllableCleanupDelegate(TaskTracker* task_tracker) in ControllableCleanupDelegate()
488 TaskTracker* const task_tracker_;
496 MockedControllableCleanupDelegate(TaskTracker* task_tracker) in MockedControllableCleanupDelegate()
512 TaskTracker task_tracker("Test"); in TEST()
531 TaskTracker task_tracker("Test"); in TEST()
556 TaskTracker task_tracker("Test"); in TEST()
578 TaskTracker task_tracker("Test"); in TEST()
605 TaskTracker task_tracker("Test"); in TEST()
651 TaskTracker task_tracker("Test"); in TEST()
[all …]
Dservice_thread.cc27 ServiceThread::ServiceThread(const TaskTracker* task_tracker) in ServiceThread()
87 BindOnce(&TaskTracker::RecordLatencyHistogram, Unretained(task_tracker_), in PerformHeartbeatLatencyReport()
88 TaskTracker::LatencyHistogramType::HEARTBEAT_LATENCY, in PerformHeartbeatLatencyReport()
Dscheduler_single_thread_task_runner_manager.h32 class TaskTracker; variable
54 TrackedRef<TaskTracker> task_tracker,
121 const TrackedRef<TaskTracker> task_tracker_;
Dscheduler_worker.h34 class TaskTracker; variable
119 TrackedRef<TaskTracker> task_tracker,
235 const TrackedRef<TaskTracker> task_tracker_;
Dtask_tracker_posix.cc14 TaskTrackerPosix::TaskTrackerPosix(StringPiece name) : TaskTracker(name) {} in TaskTrackerPosix()
23 TaskTracker::RunOrSkipTask(std::move(task), sequence, can_run_task); in RunOrSkipTask()
Dtask_tracker_unittest.cc89 ThreadPostingAndRunningTask(TaskTracker* tracker, in ThreadPostingAndRunningTask()
106 ThreadPostingAndRunningTask(TaskTracker* tracker, in ThreadPostingAndRunningTask()
143 TaskTracker* const tracker_;
192 Bind(&TaskTracker::Shutdown, Unretained(&tracker_)))); in CallShutdownAsync()
216 Bind(&TaskTracker::FlushForTesting, Unretained(&tracker_)))); in CallFlushFromAnotherThread()
236 TaskTracker tracker_ = {"Test"};
494 static void RunTaskRunnerHandleVerificationTask(TaskTracker* tracker, in RunTaskRunnerHandleVerificationTask()
1059 TaskTracker tracker("Test", kMaxNumScheduledBackgroundSequences); in TEST_F()
1139 TaskTracker tracker("Test", kMaxNumScheduledBackgroundSequences); in TEST_F()
1206 TaskTracker tracker("Test", kMaxNumScheduledBackgroundSequences); in TEST_F()
[all …]
Dscheduler_worker_pool_impl.h44 class TaskTracker; variable
75 TrackedRef<TaskTracker> task_tracker,
Dtask_tracker_posix.h28 class BASE_EXPORT TaskTrackerPosix : public TaskTracker {
Dscheduler_single_thread_task_runner_manager.cc181 TrackedRef<TaskTracker> task_tracker) in SchedulerWorkerCOMDelegate()
265 const TrackedRef<TaskTracker> task_tracker_;
387 TrackedRef<TaskTracker> task_tracker, in SchedulerSingleThreadTaskRunnerManager()
Dtask_scheduler_impl.h51 TaskTracker;
Dscheduler_worker_pool.cc171 TrackedRef<TaskTracker> task_tracker, in SchedulerWorkerPool()
Dscheduler_worker.cc44 TrackedRef<TaskTracker> task_tracker, in SchedulerWorker()
Dscheduler_worker_pool_unittest.cc153 TaskTracker task_tracker_ = {"Test"};
Dscheduler_worker_stack_unittest.cc64 TaskTracker task_tracker_ = {"Test"};
Dscheduler_single_thread_task_runner_manager_unittest.cc70 TaskTracker task_tracker_ = {"Test"};
/external/perfetto/ui/src/frontend/
Dtask_tracker_unittest.ts16 import {TaskTracker} from './task_tracker';
19 const tracker = new TaskTracker();
25 const tracker = new TaskTracker();
Dtask_tracker.ts20 export class TaskTracker { class
64 export const taskTracker = new TaskTracker();
/external/libchrome/base/threading/
Dthread_restrictions.h147 class TaskTracker; variable
465 friend class internal::TaskTracker;
/external/libchrome/libchrome_tools/patches/
Dfix-fd-watcher-leak.patch169 class TaskTracker;

12