PrincetonUniversity / ILAng

A Modeling and Verification Platform for SoCs using ILAs
https://bo-yuan-huang.gitbook.io/ilang/
MIT License
75 stars 18 forks source link

add time recording feature for ilator debugging #220

Open LeeOHzzZ opened 2 years ago

LeeOHzzZ commented 2 years ago

When -DILATOR_VERBOSE=ON is set during cmaking the generated sysmtec models, the execution time of each instructions will be recorded and dumped.

LeeOHzzZ commented 2 years ago

example: image

LeeOHzzZ commented 2 years ago

Separate execution time profiling and instruction state update logging flags: for cmaking ilator model: -DILATOR_PROFILING=ON enables instruction logging and time profiling only -DILATOR_VERBOSE=ON enables both time profiling and instruction state updates logging