repo.or.cz
/
ltp-debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported Upstream version 20090930
[ltp-debian.git]
/
testcases
/
kernel
/
sched
/
hyperthreading
/
ht_affinity
/
HTutils.h
blob
1ec9794b9007e7a25256cc5b23783425de08a78d
1
2
#ifndef _HTUTILS_H_
3
#define _HTUTILS_H_
4
5
#include <stdlib.h>
6
7
int
is_cmdline_para
(
const char
*
para
);
8
9
// return 0 means Pass,
10
// return 1 means ht is not enabled,
11
int
check_ht_capability
();
12
13
extern
char
buf
[];
14
15
int
get_cpu_count
();
16
int
get_current_cpu
(
pid_t pid
);
17
18
#endif