tcputhreads.sh - numeric - C++ library with numerical algorithms | |
git clone git://src.adamsgaard.dk/numeric | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
tcputhreads.sh (165B) | |
--- | |
1 #!/bin/sh | |
2 # Returns the number of threads the system CPU(s) have | |
3 threads=`cat /proc/cpuinfo | grep processor | awk '{print $3}' | tail -1… |