fairness  v1.0.0
A collection of advanced syncronization mechanisms.
Loading...
Searching...
No Matches
test.cpp File Reference

Alias test. More...

#include <boost/fairness.hpp>
#include <gtest/gtest.h>
#include <thread>
#include <algorithm>
#include <DeterministicConcurrency>
#include "scenarios.hpp"
Include dependency graph for test.cpp:

Macros

#define BOOST_FAIRNESS_MAX_PQNODES   32
 
#define RANDOM_TESTS   250
 

Functions

int main (int argc, char *argv[])
 
 TEST (PriorityMutex_ControlledScheduling, LockUnlockTest)
 
 TEST (PriorityMutex_ControlledScheduling, LockUnlockTest2)
 
 TEST (PriorityMutex_ControlledScheduling, RandomizedPriorityTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_LockUnlockTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_LockUnlockTest2)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_RandomizedPriorityTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_RecursiveCustomTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_RecursiveDifferentPriorityTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_RecursiveTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_RecursiveTryLockDifferentPriorityTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_RecursiveTryLockTest)
 
 TEST (RecursivePriorityMutex_ControlledScheduling, RPM_TryLockTest)
 
 TEST (SharedPriorityMutex_ControlledScheduling, LockSharedTest)
 
 TEST (SharedPriorityMutex_ControlledScheduling, LockUnlockTest)
 
 TEST (SharedPriorityMutex_ControlledScheduling, LockUnlockTest2)
 
 TEST (SharedPriorityMutex_ControlledScheduling, PriorityBehavior)
 
 TEST (SharedPriorityMutex_ControlledScheduling, S_LockSharedTest)
 
 TEST (SharedPriorityMutex_ControlledScheduling, SPM_RandomizedPriorityTest)
 
 TEST (SharedPriorityMutex_ControlledScheduling, TryLockSharedTest)
 
 TEST (SharedPriorityMutex_ControlledScheduling, TryLockTest)
 
 TEST (SlimPriorityMutex_ControlledScheduling, SLM_LockUnlockTest)
 
 TEST (SlimPriorityMutex_ControlledScheduling, SLM_LockUnlockTest2)
 
 TEST (SlimPriorityMutex_ControlledScheduling, SLM_RandomizedPriorityTest)
 
 TEST (SlimPriorityMutex_ControlledScheduling, SLM_TryLockTest)
 
 TEST (SpinlockPriorityMutex_ControlledScheduling, SPNLCPM_LockUnlockTest)
 
 TEST (SpinlockPriorityMutex_ControlledScheduling, SPNLCPM_LockUnlockTest2)
 
 TEST (SpinlockPriorityMutex_ControlledScheduling, SPNLCPM_RandomizedPriorityTest)
 

Detailed Description

Alias test.

Author
S. Martorana (salva.nosp@m.tore.nosp@m.marto.nosp@m.rana.nosp@m.@hotm.nosp@m.ail..nosp@m.com)
F. Abrignani (feder.nosp@m.igno.nosp@m.li@ho.nosp@m.tmai.nosp@m.l.it)
Version
0.1
Date
2023-10-06

Macro Definition Documentation

◆ BOOST_FAIRNESS_MAX_PQNODES

#define BOOST_FAIRNESS_MAX_PQNODES   32

◆ RANDOM_TESTS

#define RANDOM_TESTS   250

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ TEST() [1/27]

TEST ( PriorityMutex_ControlledScheduling  ,
LockUnlockTest   
)

◆ TEST() [2/27]

TEST ( PriorityMutex_ControlledScheduling  ,
LockUnlockTest2   
)

◆ TEST() [3/27]

TEST ( PriorityMutex_ControlledScheduling  ,
RandomizedPriorityTest   
)

◆ TEST() [4/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_LockUnlockTest   
)

◆ TEST() [5/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_LockUnlockTest2   
)

◆ TEST() [6/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_RandomizedPriorityTest   
)

◆ TEST() [7/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_RecursiveCustomTest   
)

◆ TEST() [8/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_RecursiveDifferentPriorityTest   
)

◆ TEST() [9/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_RecursiveTest   
)

◆ TEST() [10/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_RecursiveTryLockDifferentPriorityTest   
)

◆ TEST() [11/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_RecursiveTryLockTest   
)

◆ TEST() [12/27]

TEST ( RecursivePriorityMutex_ControlledScheduling  ,
RPM_TryLockTest   
)

◆ TEST() [13/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
LockSharedTest   
)

◆ TEST() [14/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
LockUnlockTest   
)

◆ TEST() [15/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
LockUnlockTest2   
)

◆ TEST() [16/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
PriorityBehavior   
)

◆ TEST() [17/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
S_LockSharedTest   
)

◆ TEST() [18/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
SPM_RandomizedPriorityTest   
)

◆ TEST() [19/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
TryLockSharedTest   
)

◆ TEST() [20/27]

TEST ( SharedPriorityMutex_ControlledScheduling  ,
TryLockTest   
)

◆ TEST() [21/27]

TEST ( SlimPriorityMutex_ControlledScheduling  ,
SLM_LockUnlockTest   
)

◆ TEST() [22/27]

TEST ( SlimPriorityMutex_ControlledScheduling  ,
SLM_LockUnlockTest2   
)

◆ TEST() [23/27]

TEST ( SlimPriorityMutex_ControlledScheduling  ,
SLM_RandomizedPriorityTest   
)

◆ TEST() [24/27]

TEST ( SlimPriorityMutex_ControlledScheduling  ,
SLM_TryLockTest   
)

◆ TEST() [25/27]

TEST ( SpinlockPriorityMutex_ControlledScheduling  ,
SPNLCPM_LockUnlockTest   
)

◆ TEST() [26/27]

TEST ( SpinlockPriorityMutex_ControlledScheduling  ,
SPNLCPM_LockUnlockTest2   
)

◆ TEST() [27/27]

TEST ( SpinlockPriorityMutex_ControlledScheduling  ,
SPNLCPM_RandomizedPriorityTest   
)