This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RAM, ROM and runtime calculation

Hi,
How can i compute the ROM, RAM size and runtime consumed by a function in C.
For example:
void main()
{
...
f();
}

f()
{
...
...
}

How can i compute the RAM, ROM and runtime consumed by the function f() from the listing file and the map file?
Please help me.
Thanks

Parents
  • RAM stands for Random Access Memory, it is the main memory of a computer system that helps the CPU( Central Processing Unit ) to execute the instruction as instructions first needed to be loaded into the RAM.

    ROM stands for Read-Only Memory, it is also the primary memory like RAM. It is read-only in memory as we can only read data on ROM, we cannot write data on it.

    Read this article to know more.

Reply
  • RAM stands for Random Access Memory, it is the main memory of a computer system that helps the CPU( Central Processing Unit ) to execute the instruction as instructions first needed to be loaded into the RAM.

    ROM stands for Read-Only Memory, it is also the primary memory like RAM. It is read-only in memory as we can only read data on ROM, we cannot write data on it.

    Read this article to know more.

Children
No data