View Issue Details

IDProjectCategoryView StatusLast Update
0004176Slicer4Core: Base Codepublic2018-03-02 11:07
Reporterjrausch Assigned Tosankhesh  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformOSUbuntuOS Version14.04 LTS
Product VersionSlicer 4.5.0-1 
Target VersionFixed in VersionSlicer 4.6.0 
Summary0004176: Console system overview differs from actual properties
Description

After starting slicer from the terminal, some initial information is shown in the console (Slicer version, OS, CPU, ...).
The CPU/cores shown in the console differ from the actual hardware.

The CPU information shown differs between various runs, e.g.:
1) CPU ......................: GenuineIntel 1.927 MHz, 1 cores
2) CPU ......................: GenuineIntel 3.189 MHz, 1 cores
3) CPU ......................: GenuineIntel 3.295 MHz, 1 cores

The actual CPU is:
Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz

See attached files (Slicer log file and output of "cat /proc/cpuinfo").

Steps To Reproduce

Run ./Slicer from the terminal

TagsNo tags attached.

Activities

jrausch

jrausch

2016-04-22 10:20

reporter  

bug.tar.gz (1,402 bytes)
sankhesh

sankhesh

2016-06-01 12:40

developer   ~0013911

Pull request submitted here: https://github.com/Slicer/Slicer/pull/513

The info printed on the terminal now reads:

...
CPU ......................: GenuineIntel Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz, 12 cores, 24 logical processors
...

jcfr

jcfr

2016-06-01 15:27

administrator   ~0013922

Fixed in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25141 and http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25142

Related Changesets

Import 2017-06-07 23:51:09: master e1467b2a

2016-06-01 15:24:56

jcfr

Details Diff
BUG: Fix display of CPU properties in application info. Fixes 0004176

Instead of explicitly computing the frequency and displaying the number
of cores, this commit updates the function "qSlicerApplication::displayApplicationInformations"
to:

* display the model name: The model name provides CPU vendor specific model and clock
frequency in GHz.

* the number of logical processors.

Since the processor has a variable frequency (e.g. from 2.90GHz to 3.8 GHz
for the Intel E3-1535M), calling "GetProcessorClockFrequency()"
was returning a different result for each call.

Before:
CPU ......................: GenuineIntel 3.579 MHz, 1 cores

After:
CPU ......................: GenuineIntel Intel(R) Xeon(R) CPU E3-1535M v5 @ 2.90GHz, 1 cores, 8 logical processors

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25142 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTGUI/qSlicerApplication.cxx Diff File

Issue History

Date Modified Username Field Change
2016-04-22 10:20 jrausch New Issue
2016-04-22 10:20 jrausch Status new => assigned
2016-04-22 10:20 jrausch Assigned To => jcfr
2016-04-22 10:20 jrausch File Added: bug.tar.gz
2016-06-01 10:37 sankhesh Assigned To jcfr => sankhesh
2016-06-01 12:40 sankhesh Note Added: 0013911
2016-06-01 15:27 jcfr Note Added: 0013922
2016-06-01 15:27 jcfr Status assigned => resolved
2016-06-01 15:27 jcfr Fixed in Version => Slicer 4.6.0
2016-06-01 15:27 jcfr Resolution open => fixed
2017-06-10 08:51 jcfr Changeset attached => Slicer master e1467b2a
2018-03-02 11:07 jcfr Status resolved => closed