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

Report task details in QUERY_ALL_TASKS command #979

Closed
jphickey opened this issue Oct 28, 2020 · 2 comments
Closed

Report task details in QUERY_ALL_TASKS command #979

jphickey opened this issue Oct 28, 2020 · 2 comments
Assignees
Milestone

Comments

@jphickey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The current CFE_ES_TaskInfo structure, which is written by the QUERY_ALL_TASKS command, only has some very basic task information - the name/ID, execution count, and what app the task is associated with.

Describe the solution you'd like
Suggest to also include:

Additional context
stack size is an important statistic for determining memory usage
priority is potentially important for real time concerns
Both of these are tracked by OSAL and easily available, just have to get it and put it in the structure.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this Oct 28, 2020
@jphickey
Copy link
Contributor Author

Question for @acudmore, @jwilmot, @skliper -- this is pretty easy to add if you concur its worthwhile.

@skliper
Copy link
Contributor

skliper commented Oct 29, 2020

Good idea but not a priority.

@skliper skliper added this to the 7.0.0 milestone Jan 22, 2021
jphickey added a commit to jphickey/cFE that referenced this issue Feb 8, 2021
Add the task info and priority to the data structure written by
the QUERY_ALL_TASKS command.  Leaving out entry point, as it would
be a memory address and not useful/relevant outside the process.
@skliper skliper closed this as completed in 2888450 Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants