Skip to content

Commit

Permalink
Move FLUSH* events to GENRAL group
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Ryabtsev <d.ryabtsev@yadro.com>
  • Loading branch information
Dmitriy Ryabtsev committed Oct 16, 2024
1 parent abd04bb commit ba5d82d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 31 deletions.
2 changes: 2 additions & 0 deletions adoc_event_tables/general.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
|INST.FPU.SPEC |Number of FPU instructions issued
|UOP.RET |Number of micro-operations retired
|UOP.SPEC |Number of micro-operations issued
|FLUSH.SPEC |Counts pipeline flushes due to all reasons - such as branch misprediction, memory disambiguation, serializing instructions
|FLUSH.CYCLES |Cycles to recover from pipeline flushes due to any reason. Examples: branch misprediction, memory disambiguation, serializing instruction
|===

8 changes: 0 additions & 8 deletions adoc_event_tables/prediction_spec.adoc

This file was deleted.

6 changes: 0 additions & 6 deletions body.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ include::adoc_event_tables/prediction_retired.adoc[]

include::adoc_event_tables/prediction_metrics.adoc[]

=== CTRL_FLOW (speculative)

Speculation prediction group. Unlike most of the groups below prediction events mostly naturally counted only at retirement time. So this group contains only a few events which make sense to count speculatively.

include::adoc_event_tables/prediction_spec.adoc[]

=== CACHE (retirement)

This group contains events and metrics for data and instruction caches (all levels) counted at retirement.
Expand Down
12 changes: 12 additions & 0 deletions event_files/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,17 @@
"EventCode": "0x0",
"BriefDescription": "Number of micro-operations issued",
"PublicDescription": "Number of micro-operations issued"
},
{
"EventName": "FLUSH.SPEC",
"EventCode": "0x0",
"BriefDescription": "Counts pipeline flushes due to all reasons",
"PublicDescription": "Counts pipeline flushes due to all reasons - such as branch misprediction, memory disambiguation, serializing instructions"
},
{
"EventName": "FLUSH.CYCLES",
"EventCode": "0x0",
"BriefDescription": "Cycles to recover from pipeline flushes",
"PublicDescription": "Cycles to recover from pipeline flushes due to any reason. Examples: branch misprediction, memory disambiguation, serializing instruction"
}
]
14 changes: 0 additions & 14 deletions event_files/prediction_spec.json

This file was deleted.

5 changes: 2 additions & 3 deletions gen_event_tables_adocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import json

event_files = ['cache_retired.json', 'cache_spec.json', 'prediction_retired.json',
'prediction_spec.json', 'rvv_retired.json', 'rvv_spec.json',
'tlb_retired.json', 'tlb_spec.json', 'topdown.json',
'general.json']
'rvv_retired.json', 'rvv_spec.json', 'tlb_retired.json', 'tlb_spec.json',
'topdown.json', 'general.json']

metric_files = ['cache_retired_metrics.json', 'cache_spec_metrics.json',
'prediction_metrics.json', 'rvv_retired_metrics.json', 'rvv_spec_metrics.json',
Expand Down

0 comments on commit ba5d82d

Please sign in to comment.