Searched refs:memstat (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/common_modules/tzdriver/core/ |
D | cmdmonitor.c | 165 struct imonitor_eventobj *memstat = NULL; in send_memstat_packet() local 171 memstat = imonitor_create_eventobj(IMONITOR_MEMSTAT_EVENT_ID); in send_memstat_packet() 172 if (!memstat) { in send_memstat_packet() 177 result |= (uint32_t)imonitor_set_param_integer_v2(memstat, "totalmem", meminfo->total_mem); in send_memstat_packet() 178 result |= (uint32_t)imonitor_set_param_integer_v2(memstat, "mem", meminfo->pmem); in send_memstat_packet() 179 result |= (uint32_t)imonitor_set_param_integer_v2(memstat, "freemem", meminfo->free_mem); in send_memstat_packet() 180 result |= (uint32_t)imonitor_set_param_integer_v2(memstat, "freememmin", meminfo->free_mem_min); in send_memstat_packet() 181 result |= (uint32_t)imonitor_set_param_integer_v2(memstat, "tanum", meminfo->ta_num); in send_memstat_packet() 182 result |= (uint32_t)imonitor_set_time(memstat, nowtime.ts.tv_sec); in send_memstat_packet() 185 imonitor_destroy_eventobj(memstat); in send_memstat_packet() [all …]
|