Home
last modified time | relevance | path

Searched refs:SampleMode (Results 1 – 4 of 4) sorted by relevance

/developtools/profiler/device/plugins/api/src/
Dplugin_module.h41 enum class SampleMode { enum
53 SampleMode GetSampleMode() const;
Dplugin_module.cpp86 PluginModule::SampleMode PluginModule::GetSampleMode() const in GetSampleMode()
90 return SampleMode::POLLING; in GetSampleMode()
92 return SampleMode::STREAMING; in GetSampleMode()
95 return SampleMode::UNKNOWN; in GetSampleMode()
Dplugin_manager.cpp161 if (pluginModules_[index]->GetSampleMode() == PluginModule::SampleMode::POLLING) { in RemovePlugin()
296 if (plugin->GetSampleMode() == PluginModule::SampleMode::POLLING) { in StartPluginSession()
338 if (pluginModules_[id]->GetSampleMode() == PluginModule::SampleMode::POLLING) { in StopPluginSession()
/developtools/profiler/device/plugins/api/test/unittest/
Dplugin_manager_test.cpp123 EXPECT_EQ(pluginModule.GetSampleMode(), PluginModule::SampleMode::POLLING);
125 EXPECT_EQ(pluginModule.GetSampleMode(), PluginModule::SampleMode::STREAMING);
128 EXPECT_EQ(pluginModule.GetSampleMode(), PluginModule::SampleMode::UNKNOWN);