PERF_COUNT replaced with ov::enable_profiling (#10118)

* String conversions in any

* Fixed chaching tests

* Fixed tests

* fixed build

* PERF_COUNT replaced with ov::enable_profiling

* fixed format

* fixed format

* fixed optimal config

* merge fix

* fix build

* format fix

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
This commit is contained in:
Anton Pankratov
2022-02-05 13:27:46 +03:00
committed by GitHub
parent 213e02f3b0
commit ced90de0a5
7 changed files with 24 additions and 38 deletions

View File

@@ -145,8 +145,7 @@ int main(int argc, char* argv[]) {
gnaDevice.find("_") == std::string::npos ? "GNA_AUTO" : gnaDevice;
}
if (FLAGS_pc) {
genericPluginConfig[InferenceEngine::PluginConfigParams::KEY_PERF_COUNT] =
InferenceEngine::PluginConfigParams::YES;
genericPluginConfig.emplace(ov::enable_profiling(true));
}
if (FLAGS_q.compare("user") == 0) {
if (!FLAGS_rg.empty()) {