Skip to content

Commit

Permalink
Remove CHIP_SYSTEM_CONFIG_USE_TIMER_POOL bits.
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.
  • Loading branch information
bzbarsky-apple committed Sep 13, 2023
1 parent b02c984 commit b89676c
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
Expand Up @@ -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();
}

Expand Down

0 comments on commit b89676c

Please sign in to comment.