distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
priorityTestPhases.hpp File Reference

priorityTestPhases object declaration More...

#include <array>
Include dependency graph for priorityTestPhases.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::test
 Functional tests of distortos project.
 

Typedefs

using distortos::test::ThreadParameters = std::pair< uint8_t, uint8_t >
 parameters of test thread - priority, sequence point More...
 
using distortos::test::TestPhase = std::pair< const std::array< ThreadParameters, totalThreads > &, std::array< uint8_t, totalThreads > >
 description of test phase - reference to array with ThreadParameters, sequence of indexes for this array More...
 

Variables

constexpr size_t distortos::test::totalThreads {8}
 number of test threads More...
 
constexpr size_t distortos::test::totalPhases {8}
 number of test phases More...
 
constexpr uint8_t distortos::test::maxPhasePriority {UINT8_MAX - 1}
 max priority used in test phases More...
 

Detailed Description

priorityTestPhases object declaration

Author
Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.