]>
Commit | Line | Data |
---|---|---|
bd6521f0 A |
1 | // |
2 | // Kernel.hpp | |
3 | // KDBG | |
4 | // | |
5 | // Created by James McIlree on 4/17/13. | |
6 | // Copyright (c) 2014 Apple. All rights reserved. | |
7 | // | |
8 | ||
9 | #ifndef __kdprof__Kernel__ | |
10 | #define __kdprof__Kernel__ | |
11 | ||
12 | enum class KernelSize { k32, k64 }; | |
13 | ||
14 | class Kernel { | |
15 | public: | |
16 | static bool is_64_bit(); | |
17 | static uint32_t active_cpu_count(); | |
18 | }; | |
19 | ||
20 | #endif /* defined(__kdprof__Kernel__) */ |