Home
last modified time | relevance | path

Searched refs:configLength (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/device/plugins/gpu_plugin/test/unittest/
Dgpu_data_plugin_unittest.cpp176 int configLength = protoConfig.ByteSizeLong(); variable
177 ASSERT_EQ(configLength, 0);
178 std::vector<uint8_t> configBuffer(configLength);
179 EXPECT_TRUE(protoConfig.SerializeToArray(configBuffer.data(), configLength));
183 …EXPECT_EQ(gpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength), RET_SUCC);
188 configLength++;
189 std::vector<uint8_t> configBuffer2(configLength);
190 EXPECT_TRUE(protoConfig.SerializeToArray(configBuffer2.data(), configLength));
191 …EXPECT_EQ(gpuPlugin->callbacks->onPluginSessionStart(configBuffer2.data(), configLength+1), RET_FA…
/developtools/profiler/device/plugins/diskio_plugin/test/unittest/
Ddiskio_data_plugin_unittest.cpp181 int configLength = protoConfig.ByteSizeLong(); variable
182 ASSERT_EQ(configLength, 0);
183 std::vector<uint8_t> configBuffer(configLength);
184 EXPECT_TRUE(protoConfig.SerializeToArray(configBuffer.data(), configLength));
188 …EXPECT_EQ(diskioPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength), RET_SU…
193 configLength++;
194 std::vector<uint8_t> configBuffer2(configLength);
195 EXPECT_TRUE(protoConfig.SerializeToArray(configBuffer2.data(), configLength));
196 …EXPECT_EQ(diskioPlugin->callbacks->onPluginSessionStart(configBuffer2.data(), configLength+1), RET…
/developtools/profiler/device/plugins/gpu_plugin/src/
Dtest_main.cpp41 int configLength = protoConfig.ByteSizeLong(); in main() local
42 std::vector<uint8_t> configBuffer(configLength); in main()
44 std::cout << "test:configLength = " << configLength << std::endl; in main()
49 gpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength); in main()
/developtools/profiler/device/plugins/diskio_plugin/src/
Dtest_main.cpp82 int configLength = protoConfig.ByteSizeLong(); in main() local
83 std::vector<uint8_t> configBuffer(configLength); in main()
85 std::cout << "test:configLength = " << configLength << std::endl; in main()
90 diskioPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength); in main()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dtest_main.cpp105 int configLength = protoConfig.ByteSizeLong(); in main() local
106 std::vector<uint8_t> configBuffer(configLength); in main()
107 protoConfig.SerializeToArray(configBuffer.data(), configLength); in main()
111 cpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength); in main()
/developtools/profiler/device/plugins/process_plugin/test/unittest/
Dprocess_plugin_unittest.cpp395 int configLength = processConfig.ByteSizeLong(); variable
396 ASSERT_GT(configLength, 0);
397 std::vector<uint8_t> configBuffer(configLength);
398 EXPECT_TRUE(processConfig.SerializeToArray(configBuffer.data(), configLength));
402 …EXPECT_EQ(processPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength), RET_S…
408 …EXPECT_EQ(processPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength+1), RET…
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
Dcpu_data_plugin_unittest.cpp408 int configLength = protoConfig.ByteSizeLong(); variable
409 ASSERT_GT(configLength, 0);
410 std::vector<uint8_t> configBuffer(configLength);
411 EXPECT_TRUE(protoConfig.SerializeToArray(configBuffer.data(), configLength));
415 …EXPECT_EQ(cpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength), RET_SUCC);
420 …EXPECT_EQ(cpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength+1), RET_FAI…
/developtools/profiler/device/services/profiler_service/test/unittest/
Dprofiler_service_performance_test.cpp417 int configLength = protoConfig.ByteSizeLong(); in StartActiveProcess() local
418 std::vector<uint8_t> configBuffer(configLength); in StartActiveProcess()
419 protoConfig.SerializeToArray(configBuffer.data(), configLength); in StartActiveProcess()
423 cpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength); in StartActiveProcess()