Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Move resource usage logging into instrumentation

Open
#272 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
tooling

Research direction

Read the linked issue #267 and PR #268, especially the discussion suggesting a ResourceInstrumentation class. The issue says the existing per-resource job-status logging should move into that class, but notes that the change was not straightforward; first trace where that logging is currently implemented and how instrumentation is structured. Done means the status data is available through instrumentation for producing reports at the end of runs.

Written by the indexing model from the issue text.

Description

A previous issue and PR were made (here https://github.com/lowRISC/dvsim/issues/267 and here https://github.com/lowRISC/dvsim/pull/268) to log per resource, the number of jobs for each status. For example, for the simulation tool Xcelium, how jobs are scheduled, queued, running, etc.

In the following https://github.com/lowRISC/dvsim/pull/268#discussion_r4186087377, @AlexJones0 suggested this logic could be moved into a ResourceInstrumentation class. This would have some advantages, such as making it easy to pull the data and produce other reports at the end of runs. I looked into this while addressing the comments in the linked PR, but found it wasn't overly straightforward. I deferred it for now, but in the long run it would be a good change to make.

Dominant language
Python
Stars
15
Forks
22
Avg merge
4d 46m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lowRISC/dvsim

All issues in lowRISC/dvsim

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.