Home
last modified time | relevance | path

Searched refs:cached_result (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
H A Dsmt.c11 static int cached_result; in smt_on() local
16 return cached_result; in smt_on()
18 if (sysfs__read_int("devices/system/cpu/smt/active", &cached_result) >= 0) in smt_on()
41 cached_result = 1; in smt_on()
47 cached_result = 0; in smt_on()
51 return cached_result; in smt_on()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsmt.c10 static bool cached_result; in smt_on() local
14 return cached_result; in smt_on()
17 cached_result = (fs_value == 1); in smt_on()
19 cached_result = cpu_topology__smt_on(online_topology()); in smt_on()
22 return cached_result; in smt_on()

Completed in 1 milliseconds