Home
last modified time | relevance | path

Searched refs:npids (Results 1 – 2 of 2) sorted by relevance

/external/lisa/libs/utils/analysis/
Dresidency_analysis.py168 self.npids = len(df.index) # How many pids in total
173 logging.info("TOTAL number of PIDs: {}".format(self.npids))
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c2602 int npids; member
2682 pl->npids = 0; in cpuset_init_pidlist()
2684 pl->npids += pidcount(pb->buf, pb->buflen); in cpuset_init_pidlist()
2685 if ((pl->pids = calloc(pl->npids, sizeof(pid_t))) == NULL) in cpuset_init_pidlist()
2691 qsort(pl->pids, pl->npids, sizeof(pid_t), numericsort); in cpuset_init_pidlist()
2703 return pl->npids; in cpuset_pidlist_length()
2711 if (pl && i >= 0 && i < pl->npids) in cpuset_get_pidlist()
2761 for (i = 0; i < pl->npids; i++) in cpuset_move_all()
2928 for (i = 0; i < pl->npids; i++) in cpuset_migrate_all()