Commit Graph

1 Commits

Author SHA1 Message Date
Jose Drowne 56fcdc05cb Add runtime threading advisor for configuration warnings
- Add VlThreadingAdvisor class to detect potential threading misconfigurations
- Reads CPU topology on Linux via /sys/devices/system/cpu/ to detect:
  - Hyperthreading-enabled systems where threads > physical cores
- Warns users when threading configuration may reduce performance
- Integrates automatically when thread pool is created (threads > 1)
- Respects quiet() flag to suppress output
- Advisory only - does not affect simulation behavior

This provides earlier feedback than verilator_gantt which requires explicit
profiling and post-hoc analysis.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-05 23:27:02 -05:00