Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c7776 bool *cores_visited = NULL, *pkg_visited = NULL; in cstate_perf_init_() local
7790 pkg_visited = calloc(pkg_visited_elems, sizeof(*pkg_visited)); in cstate_perf_init_()
7791 if (!pkg_visited) in cstate_perf_init_()
7803 memset(pkg_visited, 0, pkg_visited_elems * sizeof(*pkg_visited)); in cstate_perf_init_()
7826 if (!per_core && pkg_visited[pkg_id]) in cstate_perf_init_()
7850 pkg_visited[pkg_id] = true; in cstate_perf_init_()
7860 free(pkg_visited); in cstate_perf_init_()