git.droids-corp.org
/
dpdk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
event/cnxk: fix memory leaks
[dpdk.git]
/
buildtools
/
get-cpu-count.py
1
#!/usr/bin/env python3
2
# SPDX-License-Identifier: BSD-3-Clause
3
# Copyright (c) 2021 PANTHEON.tech s.r.o.
4
5
import os
6
7
print(os.cpu_count())