Hi
Trying to get utilization information, but doesn’t get information when multi process service is set to true
I looked hailortcli monitor
code and found that getting Hailo utilization and model information from /tmp/hmon_files
I already set variable HAILO_MONITOR
to 1 like below image
and my code looks like this
Expected<std::unique_ptr<VDevice>> create_vdevice()
{
hailo_vdevice_params_t params;
auto status = hailo_init_vdevice_params(¶ms);
if (HAILO_SUCCESS != status) {
std::cerr << "Failed init vdevice_params, status = " << status << std::endl;
return make_unexpected(status);
}
params.device_count = DEVICE_COUNT;
params.multi_process_service = true;
params.group_id = "SHARED";
return VDevice::create(params);
}
But it seems that executing with multi_process_service
to true
not make tmp file in /tmp/hmon_files
Should I need to set more variables?
I used multi_process_example.cpp for my base code.
hardware Info:
- raspberry pi cm5
- Hailo8L