#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);