-
Notifications
You must be signed in to change notification settings - Fork 3k
tools: Bring back memap output by default #6155
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
Conversation
@geky thanks
|
It's because I'm compiling inside the mbed-os directory. This matches the output from before #5929. |
Now prints both the table and bars if available
93b1a5b
to
54dca6b
Compare
Memap!! |
Is there a particular reason that the memmap table and the bars are printed by default? Is there any way to make the outputs not be printed? |
/morph build |
Build : SUCCESSBuild number : 1211 Triggering tests/morph test |
Hi |
Can you provide an issue report (how to reproduce it , what it outputs (correct/wrong) ? |
Exporter Build : SUCCESSBuild number : 882 |
Test : FAILUREBuild number : 1012 |
/morph test |
Test : SUCCESSBuild number : 1017 |
Can we understand and clarify the difference between these two statements for RAM and Flash, so developers don't get confused ?
Also for bars, I assume it shows static RAM, right? |
@MarceloSalazar What difference are you talking about? |
Ah it was the power-of-2 units. I was also confused. Should we also print the tables totals using human readable units? That would probably avoid confusion. |
OK, let's make it more explicit ;-) |
explicit? what do you mean? |
https://ux.stackexchange.com/questions/13815/files-size-units-kib-vs-kb-vs-kb It seems that it is explicit already |
Ah, do you mean we should use KiB? That's easy enough to change, although at this point it looks like we'll miss the next patch release (code freeze for 5.7.6 eod today). |
It in our style guide! https://docs.mbed.com/docs/writing-and-publishing-guides/en/latest/units/ |
Well, it's official: an XKCD comic set a standard for units! |
Does that mean we are switching to Baker's Kilobyte? 😆 |
Only if the suffix is |
Or the bar patch reverted |
@screamerbg Sure, but we need 1) @MarceloSalazar's comment about the sizing to be resolved, and 2) at least one person to approve this PR. Sound like you're willing to give this PR the ok as-is? |
@cmonr Would you like me to send a PR that reverts the bars PR entirely, or would you like to fix the output so it doesn't report in KB/MB/GB, but rather in bytes? E.g. https://github.com/ARMmbed/mbed-os/pull/5929/files#diff-f9cb941bde5647a5763e18fc220efc51R657 |
@screamerbg I can amend this PR to get the output size inline with what we had before. |
@cmonr Great, thanks. What will be the release tag for this? |
Was about to change KB->KiB but saw there's been a bunch of discussion. What's the plan for this pr? Do you need me to not touch it? |
Simple revert: #6197 |
Tabling this for now (pun not intended) |
Work has been moved to #6197. |
Back due to popular demand (and because #5929 accidentally ended up in a patch release).
Now compile jobs print both the table and bars if available:
related #5929
release patch?
cc @screamerbg, @MarceloSalazar, @theotherjimmy