Switch to unified view
a/src/utils/cpuconf.cpp | b/src/utils/cpuconf.cpp | ||
---|---|---|---|
... |
... |
||
16 | */ |
16 | */ |
17 | 17 | ||
18 | #ifndef TEST_CPUCONF |
18 | #ifndef TEST_CPUCONF |
19 | 19 | ||
20 | #include "autoconfig.h" |
20 | #include "autoconfig.h" |
21 | |||
22 | #include <stdlib.h> |
||
23 | |||
21 | #include "cpuconf.h" |
24 | #include "cpuconf.h" |
22 | #include "execmd.h" |
25 | #include "execmd.h" |
23 | #include "smallut.h" |
26 | #include "smallut.h" |
27 | |||
28 | using std::string; |
||
29 | using std::vector; |
||
24 | 30 | ||
25 | #if defined(__gnu_linux__) |
31 | #if defined(__gnu_linux__) |
26 | bool getCpuConf(CpuConf& conf) |
32 | bool getCpuConf(CpuConf& conf) |
27 | { |
33 | { |
28 | vector<string> cmdv = create_vector<string>("sh")("-c") |
34 | vector<string> cmdv = create_vector<string>("sh")("-c") |