public Test program for usbhostmsd looking at ridiculous resource usage
Dependencies: test_USBHost mbed
Fork of USBHostMSD_HelloWorld by
ramstats.h@9:d86a5e08abcd, 2015-03-19 (annotated)
- Committer:
- sbts
- Date:
- Thu Mar 19 02:11:22 2015 +0000
- Revision:
- 9:d86a5e08abcd
public Test program for usbhostmsd looking at ridiculous resource usage
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sbts | 9:d86a5e08abcd | 1 | #ifndef RAMSTATS_H |
sbts | 9:d86a5e08abcd | 2 | #define RAMSTATS_H |
sbts | 9:d86a5e08abcd | 3 | //http://mbed.org/forum/bugs-suggestions/topic/2322/ |
sbts | 9:d86a5e08abcd | 4 | |
sbts | 9:d86a5e08abcd | 5 | // important info on reducing heap useage by converting to static and const where possible |
sbts | 9:d86a5e08abcd | 6 | // https://mbed.org/forum/mbed/topic/2698/ |
sbts | 9:d86a5e08abcd | 7 | // http://mbed.org/handbook/Memory-Model |
sbts | 9:d86a5e08abcd | 8 | |
sbts | 9:d86a5e08abcd | 9 | // These external symbols are maintained by the linker to indicate the |
sbts | 9:d86a5e08abcd | 10 | // location of various regions in the device's memory. They will be used by |
sbts | 9:d86a5e08abcd | 11 | // DisplayRAMBanks() to dump the size of each RAM bank to stdout. |
sbts | 9:d86a5e08abcd | 12 | extern unsigned int Image$$RW_IRAM1$$Base; |
sbts | 9:d86a5e08abcd | 13 | extern unsigned int Image$$RW_IRAM1$$ZI$$Limit; |
sbts | 9:d86a5e08abcd | 14 | extern unsigned int Image$$RW_IRAM2$$Base; |
sbts | 9:d86a5e08abcd | 15 | extern unsigned int Image$$RW_IRAM2$$ZI$$Limit; |
sbts | 9:d86a5e08abcd | 16 | extern unsigned int Image$$RW_IRAM3$$Base; |
sbts | 9:d86a5e08abcd | 17 | extern unsigned int Image$$RW_IRAM3$$ZI$$Limit; |
sbts | 9:d86a5e08abcd | 18 | |
sbts | 9:d86a5e08abcd | 19 | void DisplayRAMBanks(char * header); |
sbts | 9:d86a5e08abcd | 20 | |
sbts | 9:d86a5e08abcd | 21 | #endif //RAMSTATS_H |