-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from mark0n/callbackQueueStatus
Add scanOnce/callback queue status
- Loading branch information
Showing
4 changed files
with
257 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
record(ai, "$(IOCNAME):$(QUEUE_CAPS)_Q_HIGH") { | ||
field(DESC, "max # of elmts in IOC's $(QUEUE) queue") | ||
field(SCAN, "I/O Intr") | ||
field(DTYP, "IOC stats") | ||
field(INP, "@$(QUEUE)QueueHiWtrMrk") | ||
field(PINI, "YES") | ||
field(FLNK, "$(IOCNAME):$(QUEUE_CAPS)_Q_HIGHPER") | ||
} | ||
|
||
record(calc, "$(IOCNAME):$(QUEUE_CAPS)_Q_HIGHPER") { | ||
field(DESC, "Max. usage of IOC's $(QUEUE) queue") | ||
field(INPA, "$(IOCNAME):$(QUEUE_CAPS)_Q_HIGH NPP MS") | ||
field(INPB, "$(IOCNAME):$(QUEUE_TYPE)_Q_SIZE NPP MS") | ||
field(CALC, "100*A/B") | ||
field(LOPR, "0") | ||
field(HOPR, "100") | ||
field(EGU, "%") | ||
} | ||
|
||
record(ai, "$(IOCNAME):$(QUEUE_CAPS)_Q_USED") { | ||
field(DESC, "# of entries in IOC's $(QUEUE) queue") | ||
field(SCAN, "I/O Intr") | ||
field(DTYP, "IOC stats") | ||
field(INP, "@$(QUEUE)QueueUsed") | ||
field(PINI, "YES") | ||
field(FLNK, "$(IOCNAME):$(QUEUE_CAPS)_Q_USEDPER") | ||
} | ||
|
||
record(calc, "$(IOCNAME):$(QUEUE_CAPS)_Q_USEDPER") { | ||
field(DESC, "Percentage of IOC's $(QUEUE) queue used") | ||
field(INPA, "$(IOCNAME):$(QUEUE_CAPS)_Q_USED NPP MS") | ||
field(INPB, "$(IOCNAME):$(QUEUE_TYPE)_Q_SIZE NPP MS") | ||
field(CALC, "100*A/B") | ||
field(LOPR, "0") | ||
field(HOPR, "100") | ||
field(EGU, "%") | ||
} | ||
|
||
record(ai, "$(IOCNAME):$(QUEUE_CAPS)_Q_OVERRUNS") { | ||
field(DESC, "# of overruns of IOC's $(QUEUE) queue") | ||
field(SCAN, "I/O Intr") | ||
field(DTYP, "IOC stats") | ||
field(INP, "@$(QUEUE)QueueOverruns") | ||
field(PINI, "YES") | ||
} |