Project

General

Profile

User story #122

MARTe-EX-F-1.1.7: A framework developer shall be capble of querying the number of CPU cores available in the system where MARTe is running.

Added by André Neto about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
4.00 h
Git branch (link):
Git merge to develop (link):
SVN commit (link/?p=rev):

Description

Implement requirement MARTe-EX-F-1.1.7 based on the original MARTe implementation

Note: Being able to know the number of CPU cores available allow framework developers to take run-time decisions about the distribution of resources (e.g. threading affinity).

Source code files modified

  • Source\Core\L0Portability\Architecture\x86_cl\ProcessorA.h
  • Source\Core\L0Portability\Architecture\x86_gcc\ProcessorA.h
  • Source\Core\L0Portability\OperatingSystem\Linux\ProcessorOS.h
  • Source\Core\L0Portability\OperatingSystem\Windows\ProcessorOS.h
  • Source\Core\L0Portability\Processor.cpp
  • Source\Core\L0Portability\Processor.h
  • Source\Core\L0Portability\ProcessorType.cpp
  • Source\Core\L0Portability\ProcessorType.h
  • Test/Core/L0Portability/ProcessorTest.h
  • Test/Core/L0Portability/ProcessorTest.cpp
  • Test/Core/L0Portability/ProcessorTypeTest.h
  • Test/Core/L0Portability/ProcessorTypeTest.cpp
  • Test/GTest/ProcessorGTest.cpp
  • Test/GTest/ProcessorTypeGTest.cpp

Architecture & design review

Date of the review: 12/06/2015

Person who did the review: André Neto

Version of architecture & design document: N/A. As per the original MARTe implementation, this is a support function and does not require formal design in UML.

Result of review: N/A

List of non-conformities: N/A

Code and documentation review

Date of the review: 18/06/2015

Person who did the review: Ivan Herrero

Result of review: PASS

List of non-conformities: N/A

Unit test review

Date of the review: 01/07/2015

Person who did the review: Andre Neto

Result of coverage tests review: PASS

Result of functional tests review: PASS

Result of review: PASS

List of non-conformities: N/A

Associated revisions

Revision 58852254 (diff)
Added by Giuseppe Ferrò almost 10 years ago

Added processor related functions. #122 #123

Revision bdcff817 (diff)
Added by Giuseppe Ferrò almost 10 years ago

Added const to functions and operators that does not change class attributes.
#122

Revision 142aa3bd (diff)
Added by Giuseppe Ferrò almost 10 years ago

Formatted code using new templates.
#122 #123

Revision 886334a7 (diff)
Added by Giuseppe Ferrò almost 10 years ago

Moved a global variable into the class.
#122 #123

Revision 3573b526 (diff)
Added by Giuseppe Ferrò almost 10 years ago

Fixed errors accordingly with revision.
#122 #123

Revision 3d7d5f94 (diff)
Added by Giuseppe Ferrò almost 10 years ago

Added Processor and ProcessorType tests.
#122 #123

Revision 95c810f0 (diff)
Added by Giuseppe Ferrò almost 10 years ago

Added Processor and ProcessorType GTests.
#122 #123

Revision 3ce66bf7 (diff)
Added by Llorenc Capella almost 10 years ago

#122 documentation improvement

line 58

Revision 88afe86d (diff)
Added by Llorenc Capella almost 10 years ago

#122 ProcessorTypeTest modifications & #113 HighREsolutionTimerTest and
SleepTest

List of changes of #122: * Test added in ProcessorTypeTest.cpp * Documentation improvements in ProcessorTypeTest.h * Format ProcessorTypeTest.cpp, ProcessorTypeTest.h, ProcessorTest.cpp

List of changes #113: * Name of the sleep functions modified based on the Ivan comments. * Small modifications in HighResolutionTimer::Counter32. * TestCounter32 input parameter changed in order to avoid overfloat.

History

#1 Updated by Riccardo Vitelli almost 10 years ago

  • Target version changed from Backlog to 0.1
  • Start date deleted (29.05.2015)
  • Estimated time set to 4.00 h

#2 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from New to Arch: Rev

#3 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee set to André Neto

#4 Updated by André Neto almost 10 years ago

  • Description updated (diff)

#5 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Arch: Rev to Code: Impl

#6 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee changed from André Neto to Giuseppe Ferro

#7 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

#8 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

#9 Updated by Ivan Herrero almost 10 years ago

  • Status changed from Code: Impl to Code: Rev

#10 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

#11 Updated by Ivan Herrero almost 10 years ago

  • Status changed from Code: Rev to Unit: Impl

#12 Updated by Ivan Herrero almost 10 years ago

  • Assignee deleted (Giuseppe Ferro)

#13 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

#14 Updated by Ivan Herrero almost 10 years ago

Code and documentation review passed. Unit testing implementation pending.

#15 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Unit: Impl to Unit: Rev

#16 Updated by André Neto almost 10 years ago

  • Assignee set to André Neto

#17 Updated by André Neto almost 10 years ago

  • Description updated (diff)

#18 Updated by André Neto almost 10 years ago

  • Description updated (diff)

#19 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Unit: Rev to Unit: Impl

#20 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee deleted (André Neto)

#21 Updated by Riccardo Vitelli almost 10 years ago

  • Target version changed from 0.1 to 0.2

#22 Updated by Llorenc Capella almost 10 years ago

  • Assignee set to Llorenc Capella

#23 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Unit: Impl to Unit: Rev
  • Assignee deleted (Llorenc Capella)

#24 Updated by Ivan Herrero almost 10 years ago

  • Assignee set to Ivan Herrero

#25 Updated by Ivan Herrero almost 10 years ago

  • Description updated (diff)

Unit test review made on a4ac939:

The issues from the last review have been corrected.

New issues detected and corrected on the fly on 1ef7999.

#26 Updated by Riccardo Vitelli almost 10 years ago

  • Status changed from Unit: Rev to Closed

#27 Updated by Riccardo Vitelli almost 10 years ago

  • Assignee deleted (Ivan Herrero)

Also available in: Atom PDF