diff --git a/ccUnitMeasure.go b/ccUnitMeasure.go index dd1450a..6301898 100644 --- a/ccUnitMeasure.go +++ b/ccUnitMeasure.go @@ -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'