Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove CHIP_SYSTEM_CONFIG_USE_TIMER_POOL bits. (project-chip#29222)
Browse files Browse the repository at this point in the history
This is not a config macro we have anymore, and the code it guards does not
compile, since System::Timer has no GetStatistics method.
bzbarsky-apple authored and HunsupJung committed Oct 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 26eae31 commit 1eb588c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/system/SystemStats.cpp
Original file line number Diff line number Diff line change
@@ -79,11 +79,6 @@ void UpdateSnapshot(Snapshot & aSnapshot)
memcpy(&aSnapshot.mResourcesInUse, &sResourcesInUse, sizeof(aSnapshot.mResourcesInUse));
memcpy(&aSnapshot.mHighWatermarks, &sHighWatermarks, sizeof(aSnapshot.mHighWatermarks));

#if CHIP_SYSTEM_CONFIG_USE_TIMER_POOL
chip::System::Timer::GetStatistics(aSnapshot.mResourcesInUse[kSystemLayer_NumTimers],
aSnapshot.mHighWatermarks[kSystemLayer_NumTimers]);
#endif // CHIP_SYSTEM_CONFIG_USE_TIMER_POOL

SYSTEM_STATS_UPDATE_LWIP_PBUF_COUNTS();
}

0 comments on commit 1eb588c

Please sign in to comment.