Lines Matching refs:Resource
40 class Resource {
42 virtual ~Resource() {}
126 virtual TaskManager::Resource* GetResource(int process_id,
154 void AddResource(Resource* resource);
155 void RemoveResource(Resource* resource);
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;
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;