Skip to content

Commit

Permalink
[simulation] kpi command to enforce log flushing to file (TODO, futur…
Browse files Browse the repository at this point in the history
…e: may be required for any user-input CLI command when speed = 0)
  • Loading branch information
EskoDijk committed Feb 15, 2024
1 parent 8be261a commit 437dcfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simulation/kpi.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ func (km *KpiManager) retrieveNodeCounters() NodeCountersStore {
counters2 := km.sim.nodes[nid].GetCounters("mle", "mle.")
counters3 := km.sim.nodes[nid].GetCounters("ip", "ip.")
nodesMap[nid] = mergeNodeCounters(counters1, counters2, counters3)
km.sim.nodes[nid].DisplayPendingLogEntries()
km.sim.nodes[nid].DisplayPendingLines()
}
return nodesMap
}
Expand Down

0 comments on commit 437dcfe

Please sign in to comment.