OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
foreign_storage::anonymous_namespace{InternalExecutorStatsDataWrapper.cpp} Namespace Reference

Functions

void populate_import_buffers_for_executor_resource_pool_summary (const ExecutorResourceMgr_Namespace::ResourcePoolInfo &resource_pool_info, std::map< std::string, import_export::TypedImportBuffer * > &import_buffers)
 

Function Documentation

void foreign_storage::anonymous_namespace{InternalExecutorStatsDataWrapper.cpp}::populate_import_buffers_for_executor_resource_pool_summary ( const ExecutorResourceMgr_Namespace::ResourcePoolInfo resource_pool_info,
std::map< std::string, import_export::TypedImportBuffer * > &  import_buffers 
)

Definition at line 33 of file InternalExecutorStatsDataWrapper.cpp.

References ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_buffer_pool_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_buffers, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_result_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_cpu_slots, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_gpu_buffer_pool_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_gpu_buffers, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_temp_cpu_buffer_pool_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::allocated_temp_gpu_buffer_pool_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_cpu_buffer_pool_mem_requests, ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_cpu_result_mem_requests, ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_cpu_slots_requests, ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_gpu_buffer_pool_mem_requests, ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_gpu_slots_requests, ExecutorResourceMgr_Namespace::ResourcePoolInfo::outstanding_requests, ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_cpu_buffer_pool_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_cpu_result_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_cpu_slots, ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_gpu_buffer_pool_mem, ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_gpu_slots, and ExecutorResourceMgr_Namespace::ResourcePoolInfo::total_requests.

Referenced by foreign_storage::InternalExecutorStatsDataWrapper::populateChunkBuffersForTable().

35  {
36  if (auto itr = import_buffers.find("total_cpu_slots"); itr != import_buffers.end()) {
37  itr->second->addInt(resource_pool_info.total_cpu_slots);
38  }
39  if (auto itr = import_buffers.find("total_gpu_slots"); itr != import_buffers.end()) {
40  itr->second->addInt(resource_pool_info.total_gpu_slots);
41  }
42  if (auto itr = import_buffers.find("total_cpu_result_mem");
43  itr != import_buffers.end()) {
44  itr->second->addInt(resource_pool_info.total_cpu_result_mem);
45  }
46  if (auto itr = import_buffers.find("total_cpu_buffer_pool_mem");
47  itr != import_buffers.end()) {
48  itr->second->addBigint(resource_pool_info.total_cpu_buffer_pool_mem);
49  }
50  if (auto itr = import_buffers.find("total_gpu_buffer_pool_mem");
51  itr != import_buffers.end()) {
52  itr->second->addBigint(resource_pool_info.total_gpu_buffer_pool_mem);
53  }
54 
55  if (auto itr = import_buffers.find("allocated_cpu_slots");
56  itr != import_buffers.end()) {
57  itr->second->addInt(resource_pool_info.allocated_cpu_slots);
58  }
59  if (auto itr = import_buffers.find("allocated_gpu_slots");
60  itr != import_buffers.end()) {
61  itr->second->addInt(resource_pool_info.allocated_cpu_slots);
62  }
63  if (auto itr = import_buffers.find("allocated_cpu_result_mem");
64  itr != import_buffers.end()) {
65  itr->second->addInt(resource_pool_info.allocated_cpu_result_mem);
66  }
67  if (auto itr = import_buffers.find("allocated_cpu_buffer_pool_mem");
68  itr != import_buffers.end()) {
69  itr->second->addBigint(resource_pool_info.allocated_cpu_buffer_pool_mem);
70  }
71  if (auto itr = import_buffers.find("allocated_gpu_buffer_pool_mem");
72  itr != import_buffers.end()) {
73  itr->second->addBigint(resource_pool_info.allocated_gpu_buffer_pool_mem);
74  }
75  if (auto itr = import_buffers.find("allocated_cpu_buffers");
76  itr != import_buffers.end()) {
77  itr->second->addInt(resource_pool_info.allocated_cpu_buffers);
78  }
79  if (auto itr = import_buffers.find("allocated_gpu_buffers");
80  itr != import_buffers.end()) {
81  itr->second->addInt(resource_pool_info.allocated_gpu_buffers);
82  }
83  if (auto itr = import_buffers.find("allocated_temp_cpu_buffer_pool_mem");
84  itr != import_buffers.end()) {
85  itr->second->addBigint(resource_pool_info.allocated_temp_cpu_buffer_pool_mem);
86  }
87  if (auto itr = import_buffers.find("allocated_temp_gpu_buffer_pool_mem");
88  itr != import_buffers.end()) {
89  itr->second->addBigint(resource_pool_info.allocated_temp_gpu_buffer_pool_mem);
90  }
91 
92  if (auto itr = import_buffers.find("total_requests"); itr != import_buffers.end()) {
93  itr->second->addBigint(resource_pool_info.total_requests);
94  }
95  if (auto itr = import_buffers.find("outstanding_requests");
96  itr != import_buffers.end()) {
97  itr->second->addInt(resource_pool_info.outstanding_requests);
98  }
99  if (auto itr = import_buffers.find("outstanding_cpu_slots_requests");
100  itr != import_buffers.end()) {
101  itr->second->addInt(resource_pool_info.outstanding_cpu_slots_requests);
102  }
103  if (auto itr = import_buffers.find("outstanding_gpu_slots_requests");
104  itr != import_buffers.end()) {
105  itr->second->addInt(resource_pool_info.outstanding_gpu_slots_requests);
106  }
107  if (auto itr = import_buffers.find("outstanding_cpu_result_mem_requests");
108  itr != import_buffers.end()) {
109  itr->second->addInt(resource_pool_info.outstanding_cpu_result_mem_requests);
110  }
111  if (auto itr = import_buffers.find("outstanding_cpu_buffer_pool_mem_requests");
112  itr != import_buffers.end()) {
113  itr->second->addInt(resource_pool_info.outstanding_cpu_buffer_pool_mem_requests);
114  }
115  if (auto itr = import_buffers.find("outstanding_gpu_buffer_pool_mem_requests");
116  itr != import_buffers.end()) {
117  itr->second->addInt(resource_pool_info.outstanding_gpu_buffer_pool_mem_requests);
118  }
119 }

+ Here is the caller graph for this function: