Resource statistics collection method and apparatus and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsJunwei GOU, Zhishan ZHUANG, Chi ZHANG, Zhonglin XIA
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsJunwei GOU, Zhishan ZHUANG, Chi ZHANG, Zhonglin XIA
Estimating the term…
A resource statistics collection method and apparatus, and a terminal are provided. The method includes: recording a process running on a terminal at each of at least two time points; for each of the time points, obtaining at least one hardware resource invoked by the process running at the time point; obtaining a process set including processes running at the at least two time points; and obtaining, according to the hardware resource invoked by the process in the process set, information about the at least one hardware resource occupied by an application associated with the process in the process set. In embodiments of the present invention, statistics collection is performed per process, so that information about the hardware resource occupied by each application of the terminal can be obtained, and a statistical granularity is relatively fine.
A resource statistics collection method, comprising:
10-18. (canceled)
A terminal, comprising a processor, a storage, and at least one hardware resource, wherein the processor, the storage, and the at least one hardware resource are separately connected to a communications bus, a set of program code is stored in the storage, and the processor is configured to invoke the program code stored in the storage, so as to perform the following steps:
Dependencies are inferred from the claim text.