QP/C++  7.4.0-rc.1
Real-Time Embedded Framework
Loading...
Searching...
No Matches
QP/C++ Code Metrics
================================================
NLOC CCN token PARAM length location
------------------------------------------------
9 1 41 0 9 QP::QEQueue::QEQueue@87-95@..\..\qpcpp\include\qequeue.hpp
3 1 10 0 3 QP::QEQueue::getNFree@107-109@..\..\qpcpp\include\qequeue.hpp
3 1 10 0 3 QP::QEQueue::getNMin@110-112@..\..\qpcpp\include\qequeue.hpp
3 1 12 0 3 QP::QEQueue::isEmpty@113-115@..\..\qpcpp\include\qequeue.hpp
9 1 40 0 9 QP::QMPool::QMPool@112-120@..\..\qpcpp\include\qmpool.hpp
3 1 10 0 3 QP::QMPool::getNMin@132-134@..\..\qpcpp\include\qmpool.hpp
3 1 10 0 3 QP::QMPool::getNFree@135-137@..\..\qpcpp\include\qmpool.hpp
5 1 24 1 5 QP::QEvt::QEvt@148-152@..\..\qpcpp\include\qp.hpp
2 1 6 0 3 QP::QEvt::init@154-156@..\..\qpcpp\include\qp.hpp
3 1 17 1 4 QP::QEvt::init@157-160@..\..\qpcpp\include\qp.hpp
4 2 30 1 4 QP::QEvt::verify_@161-164@..\..\qpcpp\include\qp.hpp
3 1 20 0 3 QP::QEvt::getPoolNum_@165-167@..\..\qpcpp\include\qp.hpp
1 1 10 0 1 QP::QAsmAttr::QAsmAttr@211-211@..\..\qpcpp\include\qp.hpp
4 1 14 0 4 QP::QAsm::QAsm@264-267@..\..\qpcpp\include\qp.hpp
2 1 6 0 3 QP::QAsm::~QAsm@272-274@..\..\qpcpp\include\qp.hpp
3 1 19 1 3 QP::QAsm::init@279-281@..\..\qpcpp\include\qp.hpp
4 1 20 1 4 QP::QAsm::isIn@285-288@..\..\qpcpp\include\qp.hpp
3 1 12 0 3 QP::QAsm::state@289-291@..\..\qpcpp\include\qp.hpp
3 1 12 0 3 QP::QAsm::stateObj@292-294@..\..\qpcpp\include\qp.hpp
3 1 11 0 3 QP::QAsm::getStateHandler@297-299@..\..\qpcpp\include\qp.hpp
8 1 35 2 8 QP::QAsm::top@301-308@..\..\qpcpp\include\qp.hpp
4 1 18 1 4 QP::QAsm::tran@311-314@..\..\qpcpp\include\qp.hpp
4 1 18 1 4 QP::QAsm::tran_hist@315-318@..\..\qpcpp\include\qp.hpp
4 1 18 1 4 QP::QAsm::super@319-322@..\..\qpcpp\include\qp.hpp
4 1 30 1 4 QP::QAsm::qm_tran@323-326@..\..\qpcpp\include\qp.hpp
4 1 30 1 4 QP::QAsm::qm_tran_init@327-330@..\..\qpcpp\include\qp.hpp
8 1 42 2 8 QP::QAsm::qm_tran_hist@331-338@..\..\qpcpp\include\qp.hpp
4 1 30 1 4 QP::QAsm::qm_tran_ep@339-342@..\..\qpcpp\include\qp.hpp
8 1 40 2 8 QP::QAsm::qm_tran_xp@343-350@..\..\qpcpp\include\qp.hpp
4 1 20 1 4 QP::QAsm::qm_entry@353-356@..\..\qpcpp\include\qp.hpp
4 1 22 1 4 QP::QAsm::qm_entry@360-363@..\..\qpcpp\include\qp.hpp
4 1 20 1 4 QP::QAsm::qm_exit@367-370@..\..\qpcpp\include\qp.hpp
4 1 22 1 4 QP::QAsm::qm_exit@374-377@..\..\qpcpp\include\qp.hpp
4 1 20 1 4 QP::QAsm::qm_sm_exit@379-382@..\..\qpcpp\include\qp.hpp
4 1 20 1 4 QP::QAsm::qm_super_sub@383-386@..\..\qpcpp\include\qp.hpp
3 1 19 1 3 QP::QHsm::init@401-403@..\..\qpcpp\include\qp.hpp
3 1 12 0 3 QP::QHsm::getStateHandler@411-413@..\..\qpcpp\include\qp.hpp
3 1 19 1 3 QP::QMsm::init@431-433@..\..\qpcpp\include\qp.hpp
3 1 13 0 3 QP::QMsm::getStateHandler@439-441@..\..\qpcpp\include\qp.hpp
4 2 20 0 6 QP::QPSet::setEmpty@615-620@..\..\qpcpp\include\qp.hpp
4 3 38 0 7 QP::QPSet::isEmpty@621-627@..\..\qpcpp\include\qp.hpp
4 3 38 0 7 QP::QPSet::notEmpty@628-634@..\..\qpcpp\include\qp.hpp
6 3 102 1 9 QP::QPSet::hasElement@635-643@..\..\qpcpp\include\qp.hpp
9 3 109 1 12 QP::QPSet::insert@644-655@..\..\qpcpp\include\qp.hpp
9 3 113 1 12 QP::QPSet::remove@656-667@..\..\qpcpp\include\qp.hpp
6 3 48 0 9 QP::QPSet::findMax@668-676@..\..\qpcpp\include\qp.hpp
4 2 35 1 6 QP::QPSet::update_@679-684@..\..\qpcpp\include\qp.hpp
5 3 72 1 8 QP::QPSet::verify_@688-695@..\..\qpcpp\include\qp.hpp
10 1 63 1 13 QP::QActive::QActive@764-776@..\..\qpcpp\include\qp.hpp
6 1 35 2 6 QP::QActive::init@779-784@..\..\qpcpp\include\qp.hpp
3 1 20 1 3 QP::QActive::init@785-787@..\..\qpcpp\include\qp.hpp
6 1 35 2 6 QP::QActive::dispatch@788-793@..\..\qpcpp\include\qp.hpp
3 1 27 1 3 QP::QActive::isIn@794-796@..\..\qpcpp\include\qp.hpp
3 1 26 1 3 QP::QActive::childState@797-799@..\..\qpcpp\include\qp.hpp
9 1 49 5 9 QP::QActive::start@810-818@..\..\qpcpp\include\qp.hpp
3 1 18 0 3 QP::QActive::getPrio@849-851@..\..\qpcpp\include\qp.hpp
4 1 38 1 4 QP::QActive::setPrio@852-855@..\..\qpcpp\include\qp.hpp
3 1 18 0 3 QP::QActive::getPThre@856-858@..\..\qpcpp\include\qp.hpp
3 1 10 0 3 QP::QActive::getEQueue@861-863@..\..\qpcpp\include\qp.hpp
3 1 10 0 3 QP::QActive::getOsObject@867-869@..\..\qpcpp\include\qp.hpp
3 1 10 0 3 QP::QActive::getThread@873-875@..\..\qpcpp\include\qp.hpp
3 1 13 1 3 QP::QActive::setThread@879-881@..\..\qpcpp\include\qp.hpp
6 1 35 2 6 QP::QMActive::init@913-918@..\..\qpcpp\include\qp.hpp
3 1 20 1 3 QP::QMActive::init@919-921@..\..\qpcpp\include\qp.hpp
6 1 35 2 6 QP::QMActive::dispatch@922-927@..\..\qpcpp\include\qp.hpp
3 1 27 1 3 QP::QMActive::isIn@928-930@..\..\qpcpp\include\qp.hpp
3 1 23 0 3 QP::QMActive::getStateHandler@933-935@..\..\qpcpp\include\qp.hpp
3 1 30 1 3 QP::QMActive::isInState@937-939@..\..\qpcpp\include\qp.hpp
4 1 30 1 4 QP::QMActive::childStateObj@940-943@..\..\qpcpp\include\qp.hpp
3 1 10 0 3 QP::QTimeEvt::getAct@977-979@..\..\qpcpp\include\qp.hpp
3 1 10 0 3 QP::QTimeEvt::getCtr@980-982@..\..\qpcpp\include\qp.hpp
3 1 10 0 3 QP::QTimeEvt::getInterval@983-985@..\..\qpcpp\include\qp.hpp
3 1 16 0 3 QP::QTimeEvt::toActive@1003-1005@..\..\qpcpp\include\qp.hpp
3 1 16 0 3 QP::QTimeEvt::toTimeEvt@1006-1008@..\..\qpcpp\include\qp.hpp
3 1 19 1 3 QP::QTicker::init@1029-1031@..\..\qpcpp\include\qp.hpp
6 1 23 2 6 QP::QF::psInit@1062-1067@..\..\qpcpp\include\qp.hpp
7 1 34 3 7 QP::QF::publish_@1071-1077@..\..\qpcpp\include\qp.hpp
6 1 26 2 6 QP::QF::tick@1081-1086@..\..\qpcpp\include\qp.hpp
3 1 19 1 3 QP::QF::getQueueMin@1090-1092@..\..\qpcpp\include\qp.hpp
4 1 36 1 4 QP::QF::q_new@1137-1140@..\..\qpcpp\include\qp.hpp
9 1 54 2 9 QP::QF::q_new@1146-1154@..\..\qpcpp\include\qp.hpp
6 1 38 2 6 QP::QF::q_new_x@1160-1165@..\..\qpcpp\include\qp.hpp
11 2 64 3 11 QP::QF::q_new_x@1171-1181@..\..\qpcpp\include\qp.hpp
6 1 39 2 6 QP::QF::q_new_ref@1186-1191@..\..\qpcpp\include\qp.hpp
4 1 23 1 4 QP::QF::q_delete_ref@1195-1198@..\..\qpcpp\include\qp.hpp
3 1 29 1 3 QP::QEvt_refCtr_inc_@92-94@..\..\qpcpp\include\qp_pkg.hpp
3 1 29 1 3 QP::QEvt_refCtr_dec_@96-98@..\..\qpcpp\include\qp_pkg.hpp
3 1 18 0 3 QP::QSpyId::getPrio@247-249@..\..\qpcpp\include\qs.hpp
7 1 28 1 7 QP::QS::force_cast@715-721@..\..\qpcpp\include\qs.hpp
14 3 70 1 17 QP::QS::rxPut@1012-1028@..\..\qpcpp\include\qs.hpp
3 1 19 1 3 QP::QXThread::init@108-110@..\..\qpcpp\include\qxk.hpp
3 1 10 0 3 QP::QXThread::getTimeEvt@114-116@..\..\qpcpp\include\qxk.hpp
6 1 31 1 6 QP::QHsm::QHsm@119-124@..\..\qpcpp\src\qf\qep_hsm.cpp
82 11 472 2 115 QP::QHsm::init@127-241@..\..\qpcpp\src\qf\qep_hsm.cpp
153 20 860 2 203 QP::QHsm::dispatch@244-446@..\..\qpcpp\src\qf\qep_hsm.cpp
26 4 147 1 34 QP::QHsm::isIn@449-482@..\..\qpcpp\src\qf\qep_hsm.cpp
25 4 125 1 35 QP::QHsm::childState@485-519@..\..\qpcpp\src\qf\qep_hsm.cpp
115 21 568 2 154 QP::QHsm::hsm_tran@522-675@..\..\qpcpp\src\qf\qep_hsm.cpp
6 1 28 1 6 QP::QMsm::QMsm@98-103@..\..\qpcpp\src\qf\qep_msm.cpp
39 4 240 2 59 QP::QMsm::init@106-164@..\..\qpcpp\src\qf\qep_msm.cpp
150 22 857 2 205 QP::QMsm::dispatch@167-371@..\..\qpcpp\src\qf\qep_msm.cpp
19 4 98 1 22 QP::QMsm::isIn@374-395@..\..\qpcpp\src\qf\qep_msm.cpp
19 4 99 1 22 QP::QMsm::isInState@398-419@..\..\qpcpp\src\qf\qep_msm.cpp
43 9 197 1 47 QP::QMsm::childStateObj@422-468@..\..\qpcpp\src\qf\qep_msm.cpp
63 10 355 2 73 QP::QMsm::execTatbl_@471-543@..\..\qpcpp\src\qf\qep_msm.cpp
33 5 181 3 43 QP::QMsm::exitToTranSource_@546-588@..\..\qpcpp\src\qf\qep_msm.cpp
54 7 275 2 67 QP::QMsm::enterHistory_@591-657@..\..\qpcpp\src\qf\qep_msm.cpp
3 1 13 0 3 QP::QMsm::topQMState@660-662@..\..\qpcpp\src\qf\qep_msm.cpp
10 2 59 2 10 QP::QF::bzero_@81-90@..\..\qpcpp\src\qf\qf_act.cpp
24 6 155 1 29 QP::QF_LOG2@101-129@..\..\qpcpp\src\qf\qf_act.cpp
104 19 546 3 156 QP::QActive::post_@71-226@..\..\qpcpp\src\qf\qf_actq.cpp
56 11 347 1 87 QP::QActive::postLIFO@235-321@..\..\qpcpp\src\qf\qf_actq.cpp
37 3 229 0 49 QP::QActive::get_@330-378@..\..\qpcpp\src\qf\qf_actq.cpp
5 1 30 1 6 QP::QTicker::QTicker@389-394@..\..\qpcpp\src\qf\qf_actq.cpp
13 1 51 2 16 QP::QTicker::init@397-412@..\..\qpcpp\src\qf\qf_actq.cpp
18 2 89 2 22 QP::QTicker::dispatch@415-436@..\..\qpcpp\src\qf\qf_actq.cpp
24 2 134 1 35 QP::QTicker::trig_@439-473@..\..\qpcpp\src\qf\qf_actq.cpp
19 1 97 2 21 QP::QActive::defer@70-90@..\..\qpcpp\src\qf\qf_defer.cpp
37 3 182 1 54 QP::QActive::recall@99-152@..\..\qpcpp\src\qf\qf_defer.cpp
17 4 73 2 20 QP::QActive::flushDeferred@161-180@..\..\qpcpp\src\qf\qf_defer.cpp
27 3 182 3 37 QP::QF::poolInit@73-109@..\..\qpcpp\src\qf\qf_dyn.cpp
10 1 46 0 11 QP::QF::poolGetMaxBlockSize@112-122@..\..\qpcpp\src\qf\qf_dyn.cpp
12 3 83 1 16 QP::QF::getPoolMin@125-140@..\..\qpcpp\src\qf\qf_dyn.cpp
54 7 318 3 77 QP::QF::newX_@143-219@..\..\qpcpp\src\qf\qf_dyn.cpp
40 5 244 1 54 QP::QF::gc@222-275@..\..\qpcpp\src\qf\qf_dyn.cpp
23 3 127 2 33 QP::QF::newRef_@278-310@..\..\qpcpp\src\qf\qf_dyn.cpp
17 3 104 1 26 QP::QF::deleteRef_@313-338@..\..\qpcpp\src\qf\qf_dyn.cpp
43 7 306 3 65 QP::QMPool::init@72-136@..\..\qpcpp\src\qf\qf_mem.cpp
48 4 231 2 75 QP::QMPool::get@139-213@..\..\qpcpp\src\qf\qf_mem.cpp
24 2 132 2 37 QP::QMPool::put@216-252@..\..\qpcpp\src\qf\qf_mem.cpp
3 1 12 0 3 QP::QMPool::getBlockSize@255-257@..\..\qpcpp\src\qf\qf_mem.cpp
11 2 69 2 15 QP::QActive::psInit@84-98@..\..\qpcpp\src\qf\qf_ps.cpp
61 7 355 3 100 QP::QActive::publish_@107-206@..\..\qpcpp\src\qf\qf_ps.cpp
21 5 159 1 29 QP::QActive::subscribe@215-243@..\..\qpcpp\src\qf\qf_ps.cpp
21 5 159 1 29 QP::QActive::unsubscribe@252-280@..\..\qpcpp\src\qf\qf_ps.cpp
27 5 179 0 35 QP::QActive::unsubscribeAll@289-323@..\..\qpcpp\src\qf\qf_ps.cpp
35 10 230 0 48 QP::QActive::register_@76-123@..\..\qpcpp\src\qf\qf_qact.cpp
12 3 80 0 15 QP::QActive::unregister_@132-146@..\..\qpcpp\src\qf\qf_qact.cpp
20 3 100 2 25 QP::QEQueue::init@72-96@..\..\qpcpp\src\qf\qf_qeq.cpp
59 8 298 3 78 QP::QEQueue::post@99-176@..\..\qpcpp\src\qf\qf_qeq.cpp
39 5 198 2 50 QP::QEQueue::postLIFO@179-228@..\..\qpcpp\src\qf\qf_qeq.cpp
39 4 214 1 54 QP::QEQueue::get@231-284@..\..\qpcpp\src\qf\qf_qeq.cpp
6 1 39 1 6 QP::QMActive::QMActive@72-77@..\..\qpcpp\src\qf\qf_qmact.cpp
18 2 85 3 21 QP::QTimeEvt::QTimeEvt@73-93@..\..\qpcpp\src\qf\qf_time.cpp
37 8 226 2 59 QP::QTimeEvt::armX@96-154@..\..\qpcpp\src\qf\qf_time.cpp
34 3 177 0 44 QP::QTimeEvt::disarm@157-200@..\..\qpcpp\src\qf\qf_time.cpp
35 8 225 1 60 QP::QTimeEvt::rearm@203-262@..\..\qpcpp\src\qf\qf_time.cpp
10 1 54 0 13 QP::QTimeEvt::wasDisarmed@265-277@..\..\qpcpp\src\qf\qf_time.cpp
91 9 512 2 137 QP::QTimeEvt::tick@280-416@..\..\qpcpp\src\qf\qf_time.cpp
17 3 79 1 18 QP::QTimeEvt::noActive@419-436@..\..\qpcpp\src\qf\qf_time.cpp
10 1 37 0 12 QP::QTimeEvt::QTimeEvt@439-450@..\..\qpcpp\src\qf\qf_time.cpp
25 2 154 1 37 QP::QK::schedLock@76-112@..\..\qpcpp\src\qk\qk.cpp
23 4 149 1 34 QP::QK::schedUnlock@115-148@..\..\qpcpp\src\qk\qk.cpp
31 4 179 0 43 QK_sched_@161-203@..\..\qpcpp\src\qk\qk.cpp
96 18 685 0 155 QK_activate_@206-360@..\..\qpcpp\src\qk\qk.cpp
12 2 139 0 20 QP::QF::init@369-388@..\..\qpcpp\src\qk\qk.cpp
3 1 9 0 4 QP::QF::stop@391-394@..\..\qpcpp\src\qk\qk.cpp
23 6 113 0 41 QP::QF::run@397-437@..\..\qpcpp\src\qk\qk.cpp
31 3 170 6 39 QP::QActive::start@449-487@..\..\qpcpp\src\qk\qk.cpp
18 2 116 1 25 QP::QV::schedDisable@79-103@..\..\qpcpp\src\qv\qv.cpp
17 2 103 0 24 QP::QV::schedEnable@106-129@..\..\qpcpp\src\qv\qv.cpp
8 2 89 0 14 QP::QF::init@140-153@..\..\qpcpp\src\qv\qv.cpp
3 1 9 0 4 QP::QF::stop@156-159@..\..\qpcpp\src\qv\qv.cpp
60 16 390 0 114 QP::QF::run@162-275@..\..\qpcpp\src\qv\qv.cpp
21 1 112 6 25 QP::QActive::start@287-311@..\..\qpcpp\src\qv\qv.cpp
26 3 154 1 36 QP::QXK::schedLock@76-111@..\..\qpcpp\src\qxk\qxk.cpp
21 3 126 1 30 QP::QXK::schedUnlock@114-143@..\..\qpcpp\src\qxk\qxk.cpp
14 2 77 0 19 QP::QXK::current@146-164@..\..\qpcpp\src\qxk\qxk.cpp
45 8 245 0 57 QXK_sched_@177-233@..\..\qpcpp\src\qxk\qxk.cpp
64 16 415 0 101 QXK_activate_@236-336@..\..\qpcpp\src\qxk\qxk.cpp
20 5 115 1 26 QXK_contextSw_@339-364@..\..\qpcpp\src\qxk\qxk.cpp
17 2 132 0 25 QXK_threadExit_@367-391@..\..\qpcpp\src\qxk\qxk.cpp
13 2 132 0 25 QP::QF::init@400-424@..\..\qpcpp\src\qxk\qxk.cpp
3 1 9 0 4 QP::QF::stop@427-430@..\..\qpcpp\src\qxk\qxk.cpp
24 6 115 0 41 QP::QF::run@433-473@..\..\qpcpp\src\qxk\qxk.cpp
49 7 277 6 68 QP::QActive::start@485-552@..\..\qpcpp\src\qxk\qxk.cpp
3 1 15 0 3 QP::QXMutex::QXMutex@77-79@..\..\qpcpp\src\qxk\qxk_mutex.cpp
12 1 75 1 16 QP::QXMutex::init@82-97@..\..\qpcpp\src\qxk\qxk_mutex.cpp
87 11 699 1 145 QP::QXMutex::lock@100-244@..\..\qpcpp\src\qxk\qxk_mutex.cpp
64 9 512 0 102 QP::QXMutex::tryLock@247-348@..\..\qpcpp\src\qxk\qxk_mutex.cpp
83 13 671 0 137 QP::QXMutex::unlock@351-487@..\..\qpcpp\src\qxk\qxk_mutex.cpp
15 3 89 2 18 QP::QXSemaphore::init@77-94@..\..\qpcpp\src\qxk\qxk_sema.cpp
55 7 357 1 82 QP::QXSemaphore::wait@97-178@..\..\qpcpp\src\qxk\qxk_sema.cpp
28 3 139 0 39 QP::QXSemaphore::tryWait@181-219@..\..\qpcpp\src\qxk\qxk_sema.cpp
42 6 252 0 64 QP::QXSemaphore::signal@222-285@..\..\qpcpp\src\qxk\qxk_sema.cpp
8 1 48 2 8 QP::QXThread::QXThread@77-84@..\..\qpcpp\src\qxk\qxk_xthr.cpp
8 1 33 2 8 QP::QXThread::init@87-94@..\..\qpcpp\src\qxk\qxk_xthr.cpp
8 1 33 2 8 QP::QXThread::dispatch@97-104@..\..\qpcpp\src\qxk\qxk_xthr.cpp
25 4 192 1 44 QP::QXThread::delay@107-150@..\..\qpcpp\src\qxk\qxk_xthr.cpp
16 2 65 0 18 QP::QXThread::delayCancel@153-170@..\..\qpcpp\src\qxk\qxk_xthr.cpp
63 7 459 1 95 QP::QXThread::queueGet@173-267@..\..\qpcpp\src\qxk\qxk_xthr.cpp
6 1 61 0 12 QP::QXThread::block_@270-281@..\..\qpcpp\src\qxk\qxk_xthr.cpp
9 3 70 0 14 QP::QXThread::unblock_@284-297@..\..\qpcpp\src\qxk\qxk_xthr.cpp
4 1 31 1 10 QP::QXThread::timeout_@300-309@..\..\qpcpp\src\qxk\qxk_xthr.cpp
23 3 160 2 43 QP::QXThread::teArm_@312-354@..\..\qpcpp\src\qxk\qxk_xthr.cpp
11 2 41 0 16 QP::QXThread::teDisarm_@357-372@..\..\qpcpp\src\qxk\qxk_xthr.cpp
31 file analyzed.
==============================================================
NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
--------------------------------------------------------------
55 4.5 1.0 18.2 4 ..\..\qpcpp\include\qequeue.hpp
29 0.0 0.0 0.0 0 ..\..\qpcpp\include\qk.hpp
65 5.0 1.0 20.0 3 ..\..\qpcpp\include\qmpool.hpp
673 4.4 1.2 28.6 78 ..\..\qpcpp\include\qp.hpp
5 0.0 0.0 0.0 0 ..\..\qpcpp\include\qpcpp.hpp
25 3.0 1.0 29.0 2 ..\..\qpcpp\include\qp_pkg.hpp
429 8.0 1.7 38.7 3 ..\..\qpcpp\include\qs.hpp
6 0.0 0.0 0.0 0 ..\..\qpcpp\include\qsafe.h
4 0.0 0.0 0.0 0 ..\..\qpcpp\include\qstamp.hpp
0 0.0 0.0 0.0 0 ..\..\qpcpp\include\qs_dummy.hpp
30 0.0 0.0 0.0 0 ..\..\qpcpp\include\qs_pkg.hpp
15 0.0 0.0 0.0 0 ..\..\qpcpp\include\qv.hpp
112 3.0 1.0 14.5 2 ..\..\qpcpp\include\qxk.hpp
426 67.8 10.2 367.2 6 ..\..\qpcpp\src\qf\qep_hsm.cpp
450 42.9 6.7 234.3 10 ..\..\qpcpp\src\qf\qep_msm.cpp
52 17.0 4.0 107.0 2 ..\..\qpcpp\src\qf\qf_act.cpp
274 36.7 5.6 203.7 7 ..\..\qpcpp\src\qf\qf_actq.cpp
88 24.3 2.7 117.3 3 ..\..\qpcpp\src\qf\qf_defer.cpp
196 26.1 3.6 157.7 7 ..\..\qpcpp\src\qf\qf_dyn.cpp
129 29.5 3.5 170.2 4 ..\..\qpcpp\src\qf\qf_mem.cpp
166 28.2 4.8 184.2 5 ..\..\qpcpp\src\qf\qf_ps.cpp
62 23.5 6.5 155.0 2 ..\..\qpcpp\src\qf\qf_qact.cpp
168 39.2 5.0 202.5 4 ..\..\qpcpp\src\qf\qf_qeq.cpp
16 6.0 1.0 39.0 1 ..\..\qpcpp\src\qf\qf_qmact.cpp
264 31.5 4.4 174.4 8 ..\..\qpcpp\src\qf\qf_time.cpp
266 30.5 5.0 199.8 8 ..\..\qpcpp\src\qk\qk.cpp
147 21.2 4.0 136.5 6 ..\..\qpcpp\src\qv\qv.cpp
318 26.9 5.0 163.4 11 ..\..\qpcpp\src\qxk\qxk.cpp
260 49.8 7.0 394.4 5 ..\..\qpcpp\src\qxk\qxk_mutex.cpp
151 35.0 4.8 209.2 4 ..\..\qpcpp\src\qxk\qxk_sema.cpp
192 16.5 2.4 108.5 11 ..\..\qpcpp\src\qxk\qxk_xthr.cpp
=========================================================================================================
!!!! Warnings (cyclomatic_complexity > 20 or length > 500 or nloc > 1000000 or parameter_count > 10) !!!!
================================================
NLOC CCN token PARAM length location
------------------------------------------------
115 21 568 2 154 QP::QHsm::hsm_tran@522-675@..\..\qpcpp\src\qf\qep_hsm.cpp
150 22 857 2 205 QP::QMsm::dispatch@167-371@..\..\qpcpp\src\qf\qep_msm.cpp
==========================================================================================
Total nloc Avg.NLOC AvgCCN Avg.token Fun Cnt Warning cnt Fun Rt nloc Rt
------------------------------------------------------------------------------------------
5073 19.2 3.2 115.2 196 2 0.01 0.07
QACTIVE_OS_OBJ_TYPE const & getOsObject() const noexcept
Definition qp.hpp:867
void unregister_() noexcept
Definition qf_qact.cpp:132
void subscribe(enum_t const sig) const noexcept
Definition qf_ps.cpp:215
friend class QTicker
Definition qp.hpp:754
void init(void const *const e, std::uint_fast8_t const qsId) override
Definition qp.hpp:779
bool defer(QEQueue *const eq, QEvt const *const e) const noexcept
Definition qf_defer.cpp:70
void setThread(QACTIVE_THREAD_TYPE const &thr)
Definition qp.hpp:879
void register_() noexcept
Definition qf_qact.cpp:76
std::uint_fast8_t getPThre() const noexcept
Definition qp.hpp:856
QACTIVE_THREAD_TYPE const & getThread() const noexcept
Definition qp.hpp:873
void unsubscribe(enum_t const sig) const noexcept
Definition qf_ps.cpp:252
static void publish_(QEvt const *const e, void const *const sender, std::uint_fast8_t const qsId) noexcept
Definition qf_ps.cpp:107
static void psInit(QSubscrList *const subscrSto, enum_t const maxSignal) noexcept
Definition qf_ps.cpp:84
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Definition qp.hpp:788
bool post_(QEvt const *const e, std::uint_fast16_t const margin, void const *const sender) noexcept
Definition qf_actq.cpp:71
bool isIn(QStateHandler const state) noexcept override
Definition qp.hpp:794
void setPrio(QPrioSpec const prio) noexcept
Definition qp.hpp:852
QActive(QStateHandler const initial) noexcept
Definition qp.hpp:764
QEvt const * get_() noexcept
Definition qf_actq.cpp:330
void postLIFO(QEvt const *const e) noexcept
Definition qf_actq.cpp:235
bool recall(QEQueue *const eq) noexcept
Definition qf_defer.cpp:99
QStateHandler childState(QStateHandler const parent) noexcept
Definition qp.hpp:797
std::uint_fast16_t flushDeferred(QEQueue *const eq, std::uint_fast16_t const num=0xFFFFU) const noexcept
Definition qf_defer.cpp:161
std::uint_fast8_t getPrio() const noexcept
Definition qp.hpp:849
QACTIVE_EQUEUE_TYPE const & getEQueue() const noexcept
Definition qp.hpp:861
void start(QPrioSpec const prioSpec, QEvt const **const qSto, std::uint_fast16_t const qLen, void *const stkSto, std::uint_fast16_t const stkSize, void const *const par)
Definition qk.cpp:449
void unsubscribeAll() const noexcept
Definition qf_ps.cpp:289
friend class QXThread
Definition qp.hpp:755
QState qm_entry(QMState const *const s) noexcept
Definition qp.hpp:353
QState qm_tran_ep(void const *const tatbl) noexcept
Definition qp.hpp:339
QAsm() noexcept
Definition qp.hpp:264
QState qm_tran_hist(QMState const *const hist, void const *const tatbl) noexcept
Definition qp.hpp:331
QStateHandler state() const noexcept
Definition qp.hpp:289
virtual bool isIn(QStateHandler const state) noexcept
Definition qp.hpp:285
QState qm_tran(void const *const tatbl) noexcept
Definition qp.hpp:323
QState qm_exit(QMState const *const s) noexcept
Definition qp.hpp:367
QState tran_hist(QStateHandler const hist) noexcept
Definition qp.hpp:315
QState super(QStateHandler const superstate) noexcept
Definition qp.hpp:319
QState qm_super_sub(QMState const *const s) noexcept
Definition qp.hpp:383
QState qm_tran_init(void const *const tatbl) noexcept
Definition qp.hpp:327
static QState top(void *const me, QEvt const *const e) noexcept
Definition qp.hpp:301
QState qm_sm_exit(QMState const *const s) noexcept
Definition qp.hpp:379
virtual QStateHandler getStateHandler() noexcept
Definition qp.hpp:297
QMState const * stateObj() const noexcept
Definition qp.hpp:292
virtual void init(void const *const e, std::uint_fast8_t const qsId)=0
QState tran(QStateHandler const target) noexcept
Definition qp.hpp:311
virtual ~QAsm() noexcept
Definition qp.hpp:272
QState qm_tran_xp(QActionHandler const xp, void const *const tatbl) noexcept
Definition qp.hpp:343
QEQueue() noexcept
Definition qequeue.hpp:87
QEvt const * get(std::uint_fast8_t const qsId) noexcept
Definition qf_qeq.cpp:231
void init(QEvt const *qSto[], std::uint_fast16_t const qLen) noexcept
Definition qf_qeq.cpp:72
bool isEmpty() const noexcept
Definition qequeue.hpp:113
bool post(QEvt const *const e, std::uint_fast16_t const margin, std::uint_fast8_t const qsId) noexcept
Definition qf_qeq.cpp:99
QEQueueCtr getNFree() const noexcept
Definition qequeue.hpp:107
QEQueueCtr getNMin() const noexcept
Definition qequeue.hpp:110
void postLIFO(QEvt const *const e, std::uint_fast8_t const qsId) noexcept
Definition qf_qeq.cpp:179
std::uint_fast8_t getPoolNum_() const noexcept
Definition qp.hpp:165
static bool verify_(QEvt const *const e) noexcept
Definition qp.hpp:161
void init() noexcept
Definition qp.hpp:154
QEvt()=delete
QStateHandler getStateHandler() noexcept override
Definition qp.hpp:411
QStateHandler childState(QStateHandler const parent) noexcept
Definition qep_hsm.cpp:485
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Definition qep_hsm.cpp:244
void init(void const *const e, std::uint_fast8_t const qsId) override
Definition qep_hsm.cpp:127
std::int_fast8_t hsm_tran(QStateHandler(&path)[MAX_NEST_DEPTH_], std::uint_fast8_t const qsId)
Definition qep_hsm.cpp:522
QHsm(QStateHandler const initial) noexcept
Definition qep_hsm.cpp:119
bool isIn(QStateHandler const state) noexcept override
Definition qep_hsm.cpp:449
bool isIn(QStateHandler const state) noexcept override
Definition qp.hpp:928
QMActive(QStateHandler const initial) noexcept
Definition qf_qmact.cpp:72
QStateHandler getStateHandler() noexcept override
Definition qp.hpp:933
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Definition qp.hpp:922
bool isInState(QMState const *const st) const noexcept
Definition qp.hpp:937
void init(void const *const e, std::uint_fast8_t const qsId) override
Definition qp.hpp:913
QMState const * childStateObj(QMState const *const parent) const noexcept
Definition qp.hpp:940
void * get(std::uint_fast16_t const margin, std::uint_fast8_t const qsId) noexcept
Definition qf_mem.cpp:139
QMPoolCtr getNFree() const noexcept
Definition qmpool.hpp:135
void init(void *const poolSto, std::uint_fast32_t const poolSize, std::uint_fast16_t const blockSize) noexcept
Definition qf_mem.cpp:72
QMPoolSize getBlockSize() const noexcept
Definition qf_mem.cpp:255
void put(void *const block, std::uint_fast8_t const qsId) noexcept
Definition qf_mem.cpp:216
QMPoolCtr getNMin() const noexcept
Definition qmpool.hpp:132
QState execTatbl_(QMTranActTable const *const tatbl, std::uint_fast8_t const qsId)
Definition qep_msm.cpp:471
bool isInState(QMState const *const stateObj) const noexcept
Definition qep_msm.cpp:398
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Definition qep_msm.cpp:167
void exitToTranSource_(QMState const *const cs, QMState const *const ts, std::uint_fast8_t const qsId)
Definition qep_msm.cpp:546
QState enterHistory_(QMState const *const hist, std::uint_fast8_t const qsId)
Definition qep_msm.cpp:591
void init(void const *const e, std::uint_fast8_t const qsId) override
Definition qep_msm.cpp:106
bool isIn(QStateHandler const state) noexcept override
Definition qep_msm.cpp:374
QMsm(QStateHandler const initial) noexcept
Definition qep_msm.cpp:98
QMState const * topQMState() const noexcept
Definition qep_msm.cpp:660
QStateHandler getStateHandler() noexcept override
Definition qp.hpp:439
QMState const * childStateObj(QMState const *const parent) const noexcept
Definition qep_msm.cpp:422
std::uint_fast8_t findMax() const noexcept
Definition qp.hpp:668
void remove(std::uint_fast8_t const n) noexcept
Definition qp.hpp:656
bool verify_(QPSet const *const dis) const noexcept
Definition qp.hpp:688
bool notEmpty() const noexcept
Definition qp.hpp:628
bool hasElement(std::uint_fast8_t const n) const noexcept
Definition qp.hpp:635
void update_(QPSet *const dis) const noexcept
Definition qp.hpp:679
void setEmpty() noexcept
Definition qp.hpp:615
bool isEmpty() const noexcept
Definition qp.hpp:621
void insert(std::uint_fast8_t const n) noexcept
Definition qp.hpp:644
void trig_(void const *const sender) noexcept
Definition qf_actq.cpp:439
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Definition qf_actq.cpp:415
void init(void const *const e, std::uint_fast8_t const qsId) override
Definition qf_actq.cpp:397
static void tick(std::uint_fast8_t const tickRate, void const *const sender) noexcept
Definition qf_time.cpp:280
QTimeEvt * toTimeEvt() noexcept
Definition qp.hpp:1006
void const * getAct() const noexcept
Definition qp.hpp:977
void armX(QTimeEvtCtr const nTicks, QTimeEvtCtr const interval=0U) noexcept
Definition qf_time.cpp:96
bool disarm() noexcept
Definition qf_time.cpp:157
QTimeEvt() noexcept
Definition qf_time.cpp:439
bool rearm(QTimeEvtCtr const nTicks) noexcept
Definition qf_time.cpp:203
QTimeEvtCtr getInterval() const noexcept
Definition qp.hpp:983
static bool noActive(std::uint_fast8_t const tickRate) noexcept
Definition qf_time.cpp:419
QActive * toActive() noexcept
Definition qp.hpp:1003
QTimeEvtCtr getCtr() const noexcept
Definition qp.hpp:980
bool wasDisarmed() noexcept
Definition qf_time.cpp:265
void unlock() noexcept
bool tryLock() noexcept
void init(QPrioSpec const prioSpec) noexcept
Definition qxk_mutex.cpp:82
bool lock(QTimeEvtCtr const nTicks=QXTHREAD_NO_TIMEOUT) noexcept
void init(std::uint_fast8_t const count, std::uint_fast8_t const max_count=0xFFU) noexcept
Definition qxk_sema.cpp:77
bool signal() noexcept
Definition qxk_sema.cpp:222
bool tryWait() noexcept
Definition qxk_sema.cpp:181
bool wait(QTimeEvtCtr const nTicks=QXTHREAD_NO_TIMEOUT) noexcept
Definition qxk_sema.cpp:97
void block_() const noexcept
Definition qxk_xthr.cpp:270
static void timeout_(QActive *const act)
Definition qxk_xthr.cpp:300
static bool delay(QTimeEvtCtr const nTicks) noexcept
Definition qxk_xthr.cpp:107
void teArm_(enum_t const sig, QTimeEvtCtr const nTicks) noexcept
Definition qxk_xthr.cpp:312
bool delayCancel() noexcept
Definition qxk_xthr.cpp:153
bool teDisarm_() noexcept
Definition qxk_xthr.cpp:357
void unblock_() const noexcept
Definition qxk_xthr.cpp:284
static QEvt const * queueGet(QTimeEvtCtr const nTicks=QXTHREAD_NO_TIMEOUT) noexcept
Definition qxk_xthr.cpp:173
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Definition qxk_xthr.cpp:97
void init(void const *const e, std::uint_fast8_t const qsId) override
Definition qxk_xthr.cpp:87
QTimeEvt const * getTimeEvt() const noexcept
Definition qxk.hpp:114
void deleteRef_(QEvt const *const evtRef) noexcept
Definition qf_dyn.cpp:313
void psInit(QSubscrList *const subscrSto, enum_t const maxSignal) noexcept
Definition qp.hpp:1062
evtT_ * q_new(enum_t const sig)
Definition qp.hpp:1137
QEvt const * newRef_(QEvt const *const e, QEvt const *const evtRef) noexcept
Definition qf_dyn.cpp:278
void gc(QEvt const *const e) noexcept
Definition qf_dyn.cpp:222
std::uint_fast16_t getPoolMin(std::uint_fast8_t const poolNum) noexcept
Definition qf_dyn.cpp:125
void tick(std::uint_fast8_t const tickRate, void const *const sender) noexcept
Definition qp.hpp:1081
evtT_ * q_new_x(std::uint_fast16_t const margin, enum_t const sig)
Definition qp.hpp:1160
std::uint_fast16_t poolGetMaxBlockSize() noexcept
Definition qf_dyn.cpp:112
void bzero_(void *const start, std::uint_fast16_t const len) noexcept
Definition qf_act.cpp:81
void poolInit(void *const poolSto, std::uint_fast32_t const poolSize, std::uint_fast16_t const evtSize) noexcept
Definition qf_dyn.cpp:73
void init()
Definition qk.cpp:369
void q_new_ref(QP::QEvt const *const e, evtT_ const *&evtRef)
Definition qp.hpp:1186
std::uint_fast16_t getQueueMin(std::uint_fast8_t const prio) noexcept
Definition qp.hpp:1090
void q_delete_ref(evtT_ const *&evtRef)
Definition qp.hpp:1195
QEvt * newX_(std::uint_fast16_t const evtSize, std::uint_fast16_t const margin, enum_t const sig) noexcept
Definition qf_dyn.cpp:143
int_t run()
Definition qk.cpp:397
void stop()
Definition qk.cpp:391
void publish_(QEvt const *const e, void const *const sender, std::uint_fast8_t const qsId) noexcept
Definition qp.hpp:1071
QSchedStatus schedLock(std::uint_fast8_t const ceiling) noexcept
Definition qk.cpp:76
void schedUnlock(QSchedStatus const prevCeil) noexcept
Definition qk.cpp:115
T_OUT force_cast(T_IN in)
Definition qs.hpp:715
bool rxPut(std::uint8_t const b) noexcept
Definition qs.hpp:1012
void schedEnable()
Definition qv.cpp:106
void schedDisable(std::uint_fast8_t const ceiling)
Definition qv.cpp:79
QSchedStatus schedLock(std::uint_fast8_t const ceiling) noexcept
Definition qxk.cpp:76
QP::QActive * current() noexcept
Definition qxk.cpp:146
void schedUnlock(QSchedStatus const stat) noexcept
Definition qxk.cpp:114
void QEvt_refCtr_inc_(QEvt const *const e) noexcept
Definition qp_pkg.hpp:92
void QEvt_refCtr_dec_(QEvt const *const e) noexcept
Decrement the refCtr of a const event (requires casting const away)
Definition qp_pkg.hpp:96
std::uint_fast8_t QF_LOG2(QP::QPSetBits x) noexcept
Definition qf_act.cpp:101
void QK_activate_() noexcept
Definition qk.cpp:206
std::uint_fast8_t QK_sched_() noexcept
Definition qk.cpp:161
void QXK_threadExit_()
Definition qxk.cpp:367
std::uint_fast8_t QXK_sched_() noexcept
Definition qxk.cpp:177
void QXK_activate_() noexcept
Definition qxk.cpp:236
void QXK_contextSw_(QP::QActive *const next)
Definition qxk.cpp:339
std::uint_fast8_t getPrio() const noexcept
Definition qs.hpp:247
constexpr QAsmAttr()
Definition qp.hpp:211