Home
last modified time | relevance | path

Searched refs:cores_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
7786 cores_visited = calloc(cores_visited_elems, sizeof(*cores_visited)); in cstate_perf_init_()
7787 if (!cores_visited) in cstate_perf_init_()
7802 memset(cores_visited, 0, cores_visited_elems * sizeof(*cores_visited)); in cstate_perf_init_()
7823 if (!per_thread && cores_visited[core_id]) in cstate_perf_init_()
7849 cores_visited[core_id] = true; in cstate_perf_init_()
7859 free(cores_visited); in cstate_perf_init_()