Lines Matching refs:procstat
1153 sal_Bool osl_getProcStat(pid_t pid, struct osl_procStat* procstat) in osl_getProcStat() argument
1175 memset(procstat->command, 0, sizeof(procstat->command)); in osl_getProcStat()
1177 sscanf(prstatbuf, "%d (%15c", &procstat->pid, procstat->command); in osl_getProcStat()
1188 &procstat->state, in osl_getProcStat()
1189 …&procstat->ppid, &procstat->pgrp, &procstat->session, &procstat->tty, &procstat… in osl_getProcStat()
1190 …&procstat->flags, &procstat->minflt, &procstat->cminflt, &procstat->majflt, &procstat… in osl_getProcStat()
1191 &procstat->utime, &procstat->stime, &procstat->cutime, &procstat->cstime, in osl_getProcStat()
1192 &procstat->priority, &procstat->nice, &procstat->timeout, &procstat->itrealvalue, in osl_getProcStat()
1193 &procstat->starttime, &procstat->vsize, &procstat->rss, &procstat->rss_rlim, in osl_getProcStat()
1194 …&procstat->startcode, &procstat->endcode, &procstat->startstack, &procstat->kstkesp, &procstat… in osl_getProcStat()
1195 procstat->signal, procstat->blocked, procstat->sigignore, procstat->sigcatch, in osl_getProcStat()
1196 &procstat->wchan, &procstat->nswap, &procstat->cnswap in osl_getProcStat()
1206 sal_Bool osl_getProcStatus(pid_t pid, struct osl_procStat* procstat) in osl_getProcStatus() argument
1232 &procstat->ruid, &procstat->euid, &procstat->suid, &procstat->fuid in osl_getProcStatus()
1241 &procstat->rgid, &procstat->egid, &procstat->sgid, &procstat->fgid in osl_getProcStatus()
1256 &procstat->vm_size, &procstat->vm_lock, &procstat->vm_rss, &procstat->vm_data, in osl_getProcStatus()
1257 &procstat->vm_stack, &procstat->vm_exe, &procstat->vm_lib in osl_getProcStatus()
1265 procstat->signal, procstat->blocked, procstat->sigignore, procstat->sigcatch in osl_getProcStatus()
1379 struct osl_procStat procstat; in osl_getProcessInfo()
1380 memset(&procstat,0,sizeof(procstat)); in osl_getProcessInfo()
1382 if ( (Fields & osl_Process_CPUTIMES) && osl_getProcStat(pid, &procstat) ) in osl_getProcessInfo()
1403 userseconds = procstat.utime/hz; in osl_getProcessInfo()
1404 systemseconds = procstat.stime/hz; in osl_getProcessInfo()
1407 pInfo->UserTime.Nanosec = procstat.utime - (userseconds * hz); in osl_getProcessInfo()
1409 pInfo->SystemTime.Nanosec = procstat.stime - (systemseconds * hz); in osl_getProcessInfo()
1414 if ( (Fields & osl_Process_HEAPUSAGE) && osl_getProcStatus(pid, &procstat) ) in osl_getProcessInfo()
1421 pInfo->HeapUsage = procstat.vm_data*1024; in osl_getProcessInfo()