RE: [PATCH 1/2] habanalabs: add uapi to retrieve device utilization
From: Omer Shpigelman
Date: Mon Sep 02 2019 - 03:46:56 EST
From: Oded Gabbay <oded.gabbay@xxxxxxxxx>
Sent: Friday, 30 August 2019 13:57
> Users and sysadmins usually want to know what is the device utilization as a
> level 0 indication if they are efficiently using the device.
>
> Add a new opcode to the INFO IOCTL that will return the device utilization
> over the last period of 100-1000ms. The return value is 0-100, representing as
> percentage the total utilization rate.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@xxxxxxxxx>
Reviewed-by: Omer Shpigelman <oshpigelman@xxxxxxxxx>