Skip to content

Commit

Permalink
Remove CHIP_SYSTEM_CONFIG_USE_TIMER_POOL bits. (#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.
  • Loading branch information
bzbarsky-apple authored Sep 14, 2023
1 parent 20b0587 commit 53885df
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 53885df

Please sign in to comment.