diff options
author | Adrian Hunter <[email protected]> | 2018-05-22 13:54:32 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-22 10:52:49 -0300 |
commit | 9cecca325ea879c84fcd31a5e609a514c1a1dbd1 (patch) | |
tree | 5c507d46f9d56279a95d308399d2a0f1b981e99e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7ebaf4890f63eb90856b76864a0847413cdf6c86 (diff) |
perf machine: Add nr_cpus_avail()
Add a function to return the number of the machine's available CPUs.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions