Skip to content

Commit 3e112e2

Browse files
abhiShedgefacebook-github-bot
authored andcommitted
Integrate InterruptStatsMonitor with KernelMonitor (#375)
Summary: Pull Request resolved: #375 Use InterruptStatsMonitor to collect the interrupt stats from procfs. These stats are eventually picked up by the monitoring thread. Reviewed By: homie-homin Differential Revision: D74770810
1 parent 0225735 commit 3e112e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dynolog/src/procfs/parser/InterruptStatsMonitor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ struct InterruptStats {
1717
int64_t eth0Intrps, eth0IntrpsPrev;
1818
};
1919

20+
// The Ticket template is configured to have the major tick at 60sec, minor at
21+
// 1sec intervals
2022
class InterruptStatsMonitor : MonitorBase<Ticker<60000, 1000, 1, 2>> {
2123
private:
2224
std::string const rootDir_;

0 commit comments

Comments
 (0)