Add new APIs getting all apps' memory/CPU usage 98/129798/22
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 18 May 2017 06:22:39 +0000 (15:22 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 8 Jun 2017 08:01:34 +0000 (17:01 +0900)
commit6102a348e7b27c029bf9eb96f694cbb2e4cfc3f5
treec967570a6506b7a4118f4040882c868d39c3fb4f
parent356f555661595d48c1d47d0f364fe57b6ab685cc
Add new APIs getting all apps' memory/CPU usage

1) runtime_info_app_usage_destroy
  - Free app usage handle

2) runtime_info_app_usage_get_count
  - Get the count of handle

3) runtime_info_app_usage_get_appid
  - Get app's ID from handle

4) runtime_info_app_usage_get_usage
  - Get app's resource usage from handle

5) runtime_info_get_all_apps_memory_usage
  - Get handle storing each app's memory usage(KB)

6) runtime_info_get_all_apps_cpu_rate
  - Get handle storing each app's CPU rate(%)

- To get information, it requests to resourced via D-Bus

Change-Id: Ib3fc4b91475600c071a6a6e18b6998bfbcee4e4d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
include/runtime_info.h
include/runtime_info_private.h
src/runtime_info_usage.c