Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S_job_execution enhancement #1637

Closed
amishscientist opened this issue Jan 12, 2024 · 2 comments · Fixed by #1638
Closed

S_job_execution enhancement #1637

amishscientist opened this issue Jan 12, 2024 · 2 comments · Fixed by #1638
Assignees

Comments

@amishscientist
Copy link

amishscientist commented Jan 12, 2024

It would be nice if there was more thread info in the thread section of the S_job_execution file.

For example it would be nice to know the rates for the child threads would help a lot into figuring out quickly if sims have child type or rate mismatches.

This is what it is showing me now

Trick::Threads (Child_2)
process_type = asynchronous
trigger type = mutex
number of scheduled jobs = 22
from Trick::ThreadBase
pthread_id = 140326706603776
process_id = 1417105
rt_priority = 0
cpus = none assigned
Trick::Threads (Child_3)
process_type = scheduled
trigger type = mutex
number of scheduled jobs = 40
from Trick::ThreadBase
pthread_id = 140326698211072
process_id = 1417107
rt_priority = 0
cpus = none assigned

@hchen99
Copy link
Contributor

hchen99 commented Jan 15, 2024

Currently the cycle time is printed to S_job_execution only for PROCESS_TYPE_AMF_CHILD:

  • If you have a PROCESS_TYPE_AMF_CHILD thread and its cycle time is set to 0.1, you should see following in S_job_execution:
    process_type = asynchronous must finish with amf_cycle = 0.1

@hchen99 hchen99 self-assigned this Jan 15, 2024
@hchen99 hchen99 linked a pull request Jan 15, 2024 that will close this issue
@hchen99
Copy link
Contributor

hchen99 commented Jan 15, 2024

Updated to dump cycle time for all types. However, if there is a particular reason for only dumping cycle time for PROCESS_TYPE_AMF_CHILD, the pull request would get rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants