Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
IncidenceCount_test Class Reference

Description

Test:
verify recording and evaluation of concurrent invocations of a piece of code instrumented for investigation.
See also
incidence-count.hpp
vault::gear::TestChainLoad::ScheduleCtx

Definition at line 54 of file incidence-count-test.cpp.

Private Member Functions

void run (Arg)
 
void demonstrate_usage ()
 
void verify_incidentCount ()
 
void verify_concurrencyStatistic ()
 
void perform_multithreadStressTest ()
 

Member Function Documentation

◆ run()

void run ( Arg  )
inlineprivate

Definition at line 58 of file incidence-count-test.cpp.

References IncidenceCount_test::demonstrate_usage(), IncidenceCount_test::perform_multithreadStressTest(), IncidenceCount_test::verify_concurrencyStatistic(), and IncidenceCount_test::verify_incidentCount().

+ Here is the call graph for this function:

◆ demonstrate_usage()

void demonstrate_usage ( )
inlineprivate
Test:
watch time spent in code bracketed by measurement calls.

Definition at line 71 of file incidence-count-test.cpp.

Referenced by IncidenceCount_test::run().

+ Here is the caller graph for this function:

◆ verify_incidentCount()

void verify_incidentCount ( )
inlineprivate
Test:
verify proper counting of possibly overlapping incidences.

Definition at line 92 of file incidence-count-test.cpp.

Referenced by IncidenceCount_test::run().

+ Here is the caller graph for this function:

◆ verify_concurrencyStatistic()

void verify_concurrencyStatistic ( )
inlineprivate
Test:
verify observation of concurrency degree.

Definition at line 143 of file incidence-count-test.cpp.

References lib::test::benchmarkTime(), and ThreadJoinable< RES >::join().

Referenced by IncidenceCount_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ perform_multithreadStressTest()

void perform_multithreadStressTest ( )
inlineprivate
Test:
verify thread-safe operation under pressure.

Definition at line 207 of file incidence-count-test.cpp.

References delay.

Referenced by IncidenceCount_test::run().

+ Here is the caller graph for this function:
+ Inheritance diagram for IncidenceCount_test:
+ Collaboration diagram for IncidenceCount_test:

The documentation for this class was generated from the following file: