From: Hyotaek Shim Date: Wed, 10 Mar 2021 02:00:09 +0000 (+0900) Subject: Change the order of enum keys in process_memory_info_key_e X-Git-Tag: submit/tizen/20210310.040440^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F254826%2F4;p=platform%2Fcore%2Fapi%2Fruntime-info.git Change the order of enum keys in process_memory_info_key_e Change-Id: I4c6eb392e4959ac9c2cd4702be34c333e83b8d6f Signed-off-by: Hyotaek Shim --- diff --git a/include/runtime_info-internal.h b/include/runtime_info-internal.h index 460f9c1..4bfcb5a 100644 --- a/include/runtime_info-internal.h +++ b/include/runtime_info-internal.h @@ -24,16 +24,17 @@ extern "C" #endif typedef enum { - RUNTIME_INFO_PROC_MEMORY_VSZ = 100, /**< Virtual memory size (KiB) */ - RUNTIME_INFO_PROC_MEMORY_RSS = 200, /**< Resident set size (KiB) */ - RUNTIME_INFO_PROC_MEMORY_PSS = 300, /**< Proportional set size (KiB) */ - RUNTIME_INFO_PROC_MEMORY_GPU = 400, /**< GPU memory size (KiB) */ - RUNTIME_INFO_PROC_MEMORY_GEM_RSS = 500, /**< Resident set size in graphic execution manager (KiB) */ - RUNTIME_INFO_PROC_MEMORY_SWAP = 600, /**< SWAP memory size (KiB) */ - RUNTIME_INFO_PROC_MEMORY_SHARED_CLEAN = 700, /**< Not modified and mapped by other processes (KiB) */ - RUNTIME_INFO_PROC_MEMORY_SHARED_DIRTY = 800, /**< Modified and mapped by other processes (KiB) */ - RUNTIME_INFO_PROC_MEMORY_PRIVATE_CLEAN = 900, /**< Not modified and available only to that process (KiB) */ - RUNTIME_INFO_PROC_MEMORY_PRIVATE_DIRTY = 1000,/**< Modified and available only to that process (KiB) */ + RUNTIME_INFO_PROC_MEMORY_VSZ = 100, /**< Virtual memory size (KiB) */ + RUNTIME_INFO_PROC_MEMORY_RSS = 200, /**< Resident set size (KiB) */ + RUNTIME_INFO_PROC_MEMORY_PSS = 300, /**< Proportional set size (KiB) */ + RUNTIME_INFO_PROC_MEMORY_SHARED_CLEAN = 400, /**< Not modified and mapped by other processes (KiB) */ + RUNTIME_INFO_PROC_MEMORY_SHARED_DIRTY = 500, /**< Modified and mapped by other processes (KiB) */ + RUNTIME_INFO_PROC_MEMORY_PRIVATE_CLEAN = 600, /**< Not modified and available only to that process (KiB) */ + RUNTIME_INFO_PROC_MEMORY_PRIVATE_DIRTY = 700, /**< Modified and available only to that process (KiB) */ + RUNTIME_INFO_PROC_MEMORY_SWAP = 800, /**< SWAP memory size (KiB) */ + RUNTIME_INFO_PROC_MEMORY_GPU = 900, /**< GPU memory size (KiB) */ + RUNTIME_INFO_PROC_MEMORY_GEM_RSS = 1000, /**< Resident set size in graphic execution manager (KiB) */ + } process_memory_info_key_e; int runtime_info_get_process_memory_value_int(int *pid, int size, process_memory_info_key_e key, int **info);