mirror of
https://github.com/ClusterCockpit/cc-units.git
synced 2025-04-29 16:01:42 +02:00
Add measure 'instructions'
This commit is contained in:
parent
b1f37c852b
commit
dcee847b92
@ -20,6 +20,7 @@ const (
|
||||
Requests
|
||||
Packets
|
||||
Events
|
||||
Instructions
|
||||
)
|
||||
|
||||
type MeasureData struct {
|
||||
@ -102,6 +103,11 @@ var MeasuresMap map[Measure]MeasureData = map[Measure]MeasureData{
|
||||
Short: "events",
|
||||
Regex: "^([eE][vV]?[eE]?[nN][tT][sS]?)",
|
||||
},
|
||||
Instructions: {
|
||||
Long: "Instructions",
|
||||
Short: "instr",
|
||||
Regex: "^([iI][nN][sS][tT][rR][uU]?[cC]?[tT]?[iI]?[oO]?[nN]?[sS]?)",
|
||||
},
|
||||
}
|
||||
|
||||
// String returns the long string for the measure like 'Percent' or 'Seconds'
|
||||
|
Loading…
x
Reference in New Issue
Block a user