• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

giampaolo / psutil / 2456
93%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2018 08:54AM UTC
Jobs 1
Files 5
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2456

push

travis-ci

web-flow
771 Windows CPU count (#1257)

* use GetLogicalProcessorInformation() to get logical cpu_count()

* return None if cpu_count() is undetermined + add mock test

* style

* factor out logical CPU num fun

* remove unused code

* psutil_get_num_cpus(): provide an option to fail on err

* add comments

* reuse get_num_cpus() function

* error out if get_num_cpus() fail

* use GetLogicalProcessorInformationEx to get phys CPU num

* on win vista/xp just return None for phys CPU count

* rename vars

* fix C compiler warnings + remove mingw workarounds

* return None if phys cpu count cant' be determined; update HISTORY

* update HISTORY

* update doc

* add WMI tests

* refactor tests

* print debug msg for cpu phys returning None on win < 7

* try to fix win test

* appveyor debug

* fix typo

* adjust appveyor 64 bit versions

* debug msg

* fix for loop

* re-enable python versions

* (maybe) finally fix GetLogicalProcessorInformationEx return len

2072 of 2212 relevant lines covered (93.67%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2456.2 13 Apr 2018 08:54AM UTC 0
93.67
Travis Job 2456.2
Source Files on build 2456
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2456
  • 34e98b6e on github
  • Prev Build on master (#2443)
  • Next Build on master (#2457)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc