Commit 455d044f authored by aligungr's avatar aligungr

Performance improvements

parent 3ed02713
......@@ -70,7 +70,7 @@ void NasLayer::handleSapMessage(std::unique_ptr<NtsMessage> msg)
}
}
void NasLayer::performTick()
void NasLayer::performCycle()
{
UeTimer *const arr[] = {
&m_timers.t3346, &m_timers.t3396, &m_timers.t3444, &m_timers.t3445, &m_timers.t3502, &m_timers.t3510,
......@@ -90,10 +90,7 @@ void NasLayer::performTick()
}
m_sm->onTimerTick();
}
void NasLayer::performCycle()
{
m_mm->performMmCycle();
}
......
......@@ -32,8 +32,6 @@ class NasLayer
void onQuit();
void performCycle();
void performTick();
void handleSapMessage(std::unique_ptr<NtsMessage> msg);
};
......
......@@ -52,7 +52,7 @@ void NasTask::onLoop()
if (timerId == NTS_TIMER_ID_NAS_TIMER_CYCLE)
{
setTimer(NTS_TIMER_ID_NAS_TIMER_CYCLE, NTS_TIMER_INTERVAL_NAS_TIMER_CYCLE);
layer->performTick();
layer->performCycle();
}
if (timerId == NTS_TIMER_ID_MM_CYCLE)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment