Tizen HAL API  1.0
Memory

The Memory provides functions for getting memory information.

Required Header

#include <hal-device-memory.h>

Overview

The Memory provides the way to get memory information.

The Memory functions provide memory information including:

For more information on the Memory features and the macros, see HAL Memory programming guides and tutorials.

Typedefs

typedef struct
__hal_backend_device_memory_funcs 
hal_backend_device_memory_funcs
 Structure for Memory functions.

Data Structure Documentation

struct __hal_backend_device_memory_funcs

Structure for Memory functions.

Since:
HAL_MODULE_DEVICE_MEMORY 1.0

Data Fields

int(* get_gpu_info )(const int pid, hal_device_memory_gpu_info_s *info)
int(* get_gem_info )(const int pid, hal_device_memory_gem_info_s *info)

Field Documentation

Get GEM information

Get GPU information

struct hal_device_memory_gpu_info_s

Structure for Memory gpu information data.

Since:
HAL_MODULE_DEVICE_MEMORY 1.0

Data Fields

int used_pages

Field Documentation

struct hal_device_memory_gem_info_s

Structure for Memory GEM information.

Since:
HAL_MODULE_DEVICE_MEMORY 1.0

Data Fields

int rss
int pss

Field Documentation

Proportional set size in graphic execution manager (KiB)

Resident set size in graphic execution manager (KiB)


Typedef Documentation

Structure for Memory functions.

Since:
HAL_MODULE_DEVICE_MEMORY 1.0