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

[TC-DGSW-2.1 ] Need yaml support for verify the following heap and Stack memory checks #23214

Open
kowsisoundhar12 opened this issue Oct 17, 2022 · 6 comments
Labels
CSG_1.x Request from CSG for support post 1.0 yaml Missing features or bugs in the YAML test harness

Comments

@kowsisoundhar12
Copy link
Contributor

kowsisoundhar12 commented Oct 17, 2022

Feature description

Need yaml support for verify the following heap and stack memory check 
1.The value will indicate the current amount of unutilized heap memory in bytes.
2.The value will indicate the current amount of used heap memory in bytes.
3.The value will indicate the maximum amount of heap memory being used in bytes. This value can be reset by a node reboot.
4.StackFreeCurrent field shall indicates the current amount of stack memory, in bytes, not being utilized by the respective thread. StackFreeMinimum field shall indicate the minimum amount of available stack memory in bytes. This value can be reset by a node reboot. StackSize field shall indicate the amount of memory allocated for use by the respective thread.

Platform

all

Platform Version(s)

No response

Anything else?

2022-10-17_08-24

@kowsisoundhar12 kowsisoundhar12 changed the title [TC-DGSW-2.1 ] Need yaml support for verify the following heap memory checks [TC-DGSW-2.1 ] Need yaml support for verify the following heap && Stack memory checks Oct 17, 2022
@kowsisoundhar12 kowsisoundhar12 changed the title [TC-DGSW-2.1 ] Need yaml support for verify the following heap && Stack memory checks [TC-DGSW-2.1 ] Need yaml support for verify the following heap and Stack memory checks Oct 17, 2022
@bzbarsky-apple bzbarsky-apple added the yaml Missing features or bugs in the YAML test harness label Oct 17, 2022
@bzbarsky-apple
Copy link
Contributor

What would "yaml support" look like here? For our example apps? For real devices?

@raju-apple raju-apple added the CSG_1.x Request from CSG for support post 1.0 label Oct 18, 2022
@kowsisoundhar12
Copy link
Contributor Author

@bzbarsky-apple we need yaml support for example apps to verifying the heap and statck memory steps

@bzbarsky-apple
Copy link
Contributor

@kowsisoundhar12 OK, but how will those YAML steps run for actual devices, not Linux/Mac apps running on the same machine as the test harness?

Also, just so we're clear, StackSize is an optional field and is not supported by our Linux/Mac example apps.

And the CurrentHeap* attributes are likewise optional and may or may not be supported by the Linux/Mac example apps depending on how they are compiled.

What is the actual goal here?

@kowsisoundhar12
Copy link
Contributor Author

@bzbarsky-apple Sorry for the inconvinience, StackFreeCurrent, StackFreeMinimum, StackSize field of ThreadMetrics struct are out of cope of SDK V1.0 ,let me close this issue

@raju-apple
Copy link
Contributor

Low priority - Since this cannot be automated on actual device with TH

@stale
Copy link

stale bot commented Apr 25, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Apr 25, 2023
@bzbarsky-apple bzbarsky-apple removed the stale Stale issue or PR label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSG_1.x Request from CSG for support post 1.0 yaml Missing features or bugs in the YAML test harness
Projects
None yet
Development

No branches or pull requests

3 participants