Method and apparatus for determining hardware usage, storage medium, and electronic device
AssigneeHorizon Journey (Hangzhou) Artificial Intelligence Technology Co., Ltd.
InventorGuoying ZHANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeHorizon Journey (Hangzhou) Artificial Intelligence Technology Co., Ltd.
InventorGuoying ZHANG
Estimating the term…
Disclosed are a method and apparatus for determining hardware usage, storage medium and electronic device. The method includes: determining initial period duration and initial task duration corresponding to current period, and executing at least one task in the current period by a hardware module; receiving a usage invoking request at current time point; determining current task duration corresponding to the current time point based on task duration of tasks executed by the hardware module at the current time point and the initial task duration; determining current period duration based on the initial period duration and a difference between the current time point and a starting time point corresponding to the current period; and determining, based on the current task duration and the current period duration, usage of requested hardware module. Thus, real-time performance of usage determining is improved while accuracy of hardware usage is ensured.
A method for determining hardware usage, including:
A computer-readable storage medium, wherein the storage medium stores a computer program used to implement a method for determining hardware usage including:
An electronic device, wherein the electronic device includes:
Dependencies are inferred from the claim text.