updated the mem_statistics ( since "current" is removed) and TOTAL_MEM as it is now types thru Any (and hence needs the as<>()) (#10135)

This commit is contained in:
Maxim Shevtsov authored and GitHub committed 2022-02-07 17:31:12 +03:00
1 parent 707a1b9377
commit 14fcd196a3
1 file changed
+1 -2
+1 -2
View File
@@ -760,8 +760,7 @@ InferenceEngine::IExecutableNetworkInternal::Ptr AutoBatchInferencePlugin::LoadN
auto stats =
pCore->GetMetric(device, ov::intel_gpu::memory_statistics.name()).as<std::map<std::string, uint64_t>>();
for (auto s : stats)
if (s.first.find("_current") != std::string::npos)
footprint += s.second;
footprint += s.second;
return footprint;
};