An open API service indexing awesome lists of open source software.

https://github.com/daramkun/libclew


https://github.com/daramkun/libclew

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## libclew
`libclew` is CPU efficiency level and SMT information determining library.

### Usage
```cpp
#include

int main(int argc, char* argv[]) {
clew_cpu_info_t* cpu_info = clew_create();

for (auto i = 0; i < cpu_info->core_count; ++i) {
const auto current_core = cpu_info->cores[i];
...
}

clew_destroy(cpu_info);
cpu_info = nullptr;
}
```