Lines Matching full:topology
409 static struct cpu_topology *topology; in expr__get_literal() local
423 * Assume that topology strings are consistent, such as CPUs "0-1" in expr__get_literal()
428 if (!topology) { in expr__get_literal()
429 topology = cpu_topology__new(); in expr__get_literal()
430 if (!topology) { in expr__get_literal()
431 pr_err("Error creating CPU topology"); in expr__get_literal()
436 result = smt_on(topology) ? 1.0 : 0.0; in expr__get_literal()
440 result = core_wide(ctx->system_wide, ctx->user_requested_cpu_list, topology) in expr__get_literal()
445 result = topology->package_cpus_lists; in expr__get_literal()
449 result = topology->die_cpus_lists; in expr__get_literal()
453 result = topology->core_cpus_lists; in expr__get_literal()