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

giampaolo / psutil / 2456 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2018 08:54AM UTC
Files 5
Run time 2s
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

13 Apr 2018 08:52AM UTC coverage: 93.671%. Remained the same
2456.2

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

Source Files on job 2456.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2319
  • Travis Job 2456.2
  • 34e98b6e on github
  • Prev Job for on master (#2443.2)
  • Next Job for on master (#2457.2)
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