[IE SAMPLES] activated NCC tool for c++ samples (#9600)

* [IE SAMPLES] activated NCC tool for c++ samples

* exclude ov_ncc_naming_style for tests

* fixed NCC hit

* Added support for source files in samples

* changed style of methods for benchmark

* changed style for speech sample

* changed code style

* changed code style for shared_tensor

* benchmark changes

* changed remote_tensors_filling

* fixed notes

* rebase of branch
This commit is contained in:
Maxim Gordeev authored and GitHub committed 2022-01-19 01:08:07 +03:00
1 parent a79830cb55
commit ec3283ebe1
17 files changed
+483 -475

No files matched your search

+2 -2
View File
@@ -211,7 +211,7 @@ inline void native_cpuid(unsigned int* eax, unsigned int* ebx, unsigned int* ecx
* @brief Get GNA module frequency
* @return GNA module frequency in MHz
*/
float get_gna_frequency_mHz() {
float get_gna_frequency_mhz() {
uint32_t eax = 1;
uint32_t ebx = 0;
uint32_t ecx = 0;
@@ -301,7 +301,7 @@ void print_performance_counters(std::map<std::string, ov::runtime::ProfilingInfo
stream << std::endl;
// if GNA HW counters
// get frequency of GNA module
float freq = get_gna_frequency_mHz();
float freq = get_gna_frequency_mhz();
for (const auto& it : utterancePerfMap) {
std::string const& counter_name = it.first;
float current_units_us = static_cast<float>(it.second.real_time.count()) / freq;