• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  
2  #ifndef _HTUTILS_H_
3  #define _HTUTILS_H_
4  
5  #include <sys/types.h>
6  #include <stdlib.h>
7  
8  int is_cmdline_para(const char *para);
9  
10  // return 0 means Pass,
11  // return 1 means ht is not enabled,
12  int check_ht_capability();
13  
14  extern char buf[];
15  
16  int get_cpu_count();
17  int get_current_cpu(pid_t pid);
18  
19  #endif
20