File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1633,16 +1633,21 @@ protected void size(PreferencesMap prefs) throws RunnerException {
1633
1633
1634
1634
long textSize = sizes [0 ];
1635
1635
long dataSize = sizes [1 ];
1636
+ System .out .println ();
1636
1637
System .out .println (I18n
1637
- .format (_ ("Binary sketch size: {0} bytes (of a {1} byte maximum) - {2}%% used " ),
1638
+ .format (_ ("Sketch uses {0} bytes ({2}%%) of program storage space. Maximum is {1} bytes. " ),
1638
1639
textSize , maxTextSize , textSize * 100 / maxTextSize ));
1639
1640
if (dataSize >= 0 ) {
1640
1641
if (maxDataSize > 0 ) {
1641
- System .out .println (I18n .format (
1642
- _ ("Minimum Memory usage: {0} bytes (of a {1} byte maximum) - {2}%% used" ),
1643
- dataSize , maxDataSize , dataSize * 100 / maxDataSize ));
1642
+ System .out
1643
+ .println (I18n
1644
+ .format (
1645
+ _ ("Global variables use {0} bytes ({2}%%) of dynamic memory, leaving {3} bytes for local variables. Maximum is {1} bytes." ),
1646
+ dataSize , maxDataSize , dataSize * 100 / maxDataSize ,
1647
+ maxDataSize - dataSize ));
1644
1648
} else {
1645
- System .out .println (I18n .format (_ ("Minimum Memory usage: {0} bytes" ), dataSize ));
1649
+ System .out .println (I18n
1650
+ .format (_ ("Global variables use {0} bytes of dynamic memory." ), dataSize ));
1646
1651
}
1647
1652
}
1648
1653
You can’t perform that action at this time.
0 commit comments