Linux Audio

Check our new training course

Loading...
v5.4
1#ifndef SMT_H
2#define SMT_H 1
 
3
4int smt_on(void);
5
6#endif
 
 
 
 
 
 
 
 
 
 
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __SMT_H
 3#define __SMT_H 1
 4
 5struct cpu_topology;
 6
 7/* Returns true if SMT (aka hyperthreading) is enabled. */
 8bool smt_on(const struct cpu_topology *topology);
 9
10/*
11 * Returns true when system wide and all SMT threads for a core are in the
12 * user_requested_cpus map.
13 */
14bool core_wide(bool system_wide, const char *user_requested_cpu_list,
15	       const struct cpu_topology *topology);
16
17#endif /* __SMT_H */