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
2022-02-07 17:31:12 +03:00
committed by GitHub
parent 707a1b9377
commit 14fcd196a3

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;
};