Lines Matching defs:TaskManager
36 class TaskManager {
126 virtual TaskManager::Resource* GetResource(int process_id,
166 static TaskManager* GetInstance();
182 TaskManager();
183 friend struct DefaultSingletonTraits<TaskManager>;
185 ~TaskManager();
191 DISALLOW_COPY_AND_ASSIGN(TaskManager);
211 // The model that the TaskManager is using.
215 explicit TaskManagerModel(TaskManager* task_manager);
287 TaskManager::Resource::Type GetResourceType(int index) const;
307 void AddResource(TaskManager::Resource* resource);
308 void RemoveResource(TaskManager::Resource* resource);
362 typedef std::vector<TaskManager::Resource*> ResourceList;
363 typedef std::vector<TaskManager::ResourceProvider*> ResourceProviderList;
367 typedef std::map<TaskManager::Resource*, int64> ResourceValueMap;
374 void AddItem(TaskManager::Resource* resource, bool notify_table);
375 void RemoveItem(TaskManager::Resource* resource);
383 int64 GetNetworkUsageForResource(TaskManager::Resource* resource) const;
391 int64 GetNetworkUsage(TaskManager::Resource* resource) const;
395 double GetCPUUsage(TaskManager::Resource* resource) const;
412 void AddResourceProvider(TaskManager::ResourceProvider* provider);