mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
4c0edd2efb
Again --prof-exec have bit-rotted a little with all the recent changes to the structure of the generated code. This patch contains a few improvements: - Repalce the eval/evl_loop begin/end events with generic section_push/section_pop events, that can be arbitrarily sprinkled into the generate code (so long as they are matched correctly) to measure various sections. The report then contains a nested profile of the sections, and the VCD trace shows the section names. - Better handling of exec graphs - Clearer overall statistics
41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
VLPROFVERSION 2.0
|
|
VLPROF arg +verilator+prof+exec+start+2
|
|
VLPROF arg +verilator+prof+exec+window+2
|
|
VLPROF stat threads 2
|
|
VLPROF stat yields 0
|
|
VLPROFTHREAD 0
|
|
VLPROFEXEC EXEC_GRAPH_BEGIN 945
|
|
VLPROFEXEC MTASK_BEGIN 2695 id 6 predictStart 0 cpu 19
|
|
VLPROFEXEC MTASK_END 2905 id 6 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 9695 id 10 predictStart 196 cpu 19
|
|
VLPROFEXEC MTASK_END 9870 id 10 predictCost 30
|
|
VLPROFEXEC EXEC_GRAPH_END 12180
|
|
VLPROFEXEC EXEC_GRAPH_BEGIN 14000
|
|
VLPROFEXEC MTASK_BEGIN 15610 id 6 predictStart 0 cpu 19
|
|
VLPROFEXEC MTASK_END 15820 id 6 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 21700 id 10 predictStart 196 cpu 19
|
|
VLPROFEXEC MTASK_END 21875 id 10 predictCost 30
|
|
VLPROFEXEC EXEC_GRAPH_END 22085
|
|
VLPROFTHREAD 1
|
|
VLPROFEXEC MTASK_BEGIN 5495 id 5 predictStart 0 cpu 10
|
|
VLPROFEXEC MTASK_END 6090 id 5 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 6300 id 7 predictStart 30 cpu 10
|
|
VLPROFEXEC MTASK_END 6895 id 7 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 7490 id 8 predictStart 60 cpu 10
|
|
VLPROFEXEC MTASK_END 8540 id 8 predictCost 107
|
|
VLPROFEXEC MTASK_BEGIN 9135 id 9 predictStart 167 cpu 10
|
|
VLPROFEXEC MTASK_END 9730 id 9 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 10255 id 11 predictStart 197 cpu 10
|
|
VLPROFEXEC MTASK_END 11060 id 11 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 18375 id 5 predictStart 0 cpu 10
|
|
VLPROFEXEC MTASK_END 18970 id 5 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 19145 id 7 predictStart 30 cpu 10
|
|
VLPROFEXEC MTASK_END 19320 id 7 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 19670 id 8 predictStart 60 cpu 10
|
|
VLPROFEXEC MTASK_END 19810 id 8 predictCost 107
|
|
VLPROFEXEC MTASK_BEGIN 20650 id 9 predictStart 167 cpu 10
|
|
VLPROFEXEC MTASK_END 20720 id 9 predictCost 30
|
|
VLPROFEXEC MTASK_BEGIN 21140 id 11 predictStart 197 cpu 10
|
|
VLPROFEXEC MTASK_END 21245 id 11 predictCost 30
|
|
VLPROF stat ticks 23415
|