LCOV - code coverage report
Current view: top level - Src/Task - SpPriority.hpp (source / functions) Hit Total Coverage
Test: Coverage example Lines: 5 5 100.0 %
Date: 2021-12-02 17:21:05 Functions: 2 2 100.0 %

          Line data    Source code
       1             : ///////////////////////////////////////////////////////////////////////////
       2             : // Spetabaru - Berenger Bramas MPCDF - 2017
       3             : // Under LGPL Licence, please you must read the LICENCE file.
       4             : ///////////////////////////////////////////////////////////////////////////
       5             : #ifndef SPPRIORITY_HPP
       6             : #define SPPRIORITY_HPP
       7             : 
       8             : /**
       9             :  * This class contains the priority of a task.
      10             :  * It should be used at task creation to inform the runtime
      11             :  * about the desired priority.
      12             :  */
      13             : class SpPriority{
      14             :     int priority;
      15             : public:
      16         535 :     explicit SpPriority(const int inPriority)
      17         535 :         : priority(inPriority){
      18         535 :     }
      19             :     
      20        2254 :     int getPriority() const{
      21        2254 :         return priority;
      22             :     }
      23             : };
      24             : 
      25             : #endif
      26             : 

Generated by: LCOV version 1.14