开发者

What are Source-Level Statements?

开发者 https://www.devze.com 2023-02-06 14:14 出处:网络
What are \"source-level statements\"? \"Algorithm determines both the number of source-level statements and the number of I/O operations executed\" from Computer 开发者_C百科Organization and DesignSt

What are "source-level statements"?

"Algorithm determines both the number of source-level statements and the number of I/O operations executed" from Computer 开发者_C百科Organization and Design


Statement: A line of code which does something. Source-level means in source code, I guess.


Whatever is called a "statement" by your high-level programming language. Often a source-level statement translates (during compilation) to dozens of machine instructions.

For example, a statement may include a function call, which translates to not only a call instruction, but computation of the arguments, stack-manipulation instructions to push and pop the arguments before and after the call (depending on calling convention). But it would only count as one "source-level" statement.

0

精彩评论

暂无评论...
验证码 换一张
取 消