DBT-RISE-TGC/src/iss/plugin
Stanislaw Kaushanski 8aed551813 Add a new LOG macro in SCC to avoid conflicts with other libraries. 2024-03-14 09:43:08 +01:00
..
README.md adds tracing functionality 2023-09-22 12:40:35 +02:00
cycle_estimate.cpp Add a new LOG macro in SCC to avoid conflicts with other libraries. 2024-03-14 09:43:08 +01:00
cycle_estimate.h applies clang-format changes 2023-10-29 17:06:56 +01:00
instruction_count.cpp Add a new LOG macro in SCC to avoid conflicts with other libraries. 2024-03-14 09:43:08 +01:00
instruction_count.h applies clang-format changes 2023-10-29 17:06:56 +01:00

README.md

pctrace

Trace functionality to allow visualizing coverage in lcov and cachegrind tools. Use environment variables NOCOMPRES and REGDUMP to toggle functionality.

  • NOCOMPRES: any value turns off the LZ4 compression
  • REGDUMP: any value switches to tracing the registers instead. Also turns off compression.

Known Bugs:

  • currently does not work correctly with jit backends, the plugin cant tell if instructions are compressed. Additionaly the cost of instrs that raise a trap is not known. It takes the cost of the instrid -1 (0 at the moment).