>I understand the difference between system and user. But what does >Trap stand for? Hi, Basically trap instructions are specific system calls for file hadling such as "open", "close", "write", ... However I don't know exactly if 0x1000000 < address < 0x1400000 reflect that.
Hope that helps. // Naderan *Mahmood; ----- Original Message ----- From: Song Liu <[email protected]> To: [email protected] Cc: Sent: Thursday, April 21, 2011 10:26 PM Subject: Meaning of execute-Commits:Trap Hi all, I have got a question about the output stats of a CMP inorder SPARC simulation. The number of Committed instructions are broken down in System, User, and Trap, as shown below. Nodes-execute-Commits 24647598 Nodes-execute-Commits:System 3046 Nodes-execute-Commits:Trap 19140774 Nodes-execute-Commits:User 5503778 I understand the difference between system and user. But what does Trap stand for? According to the code, the flag for trap is turned on when if ((insn_state->instruction().virtualInstructionAddress() >= 0x1000000) && (insn_state->instruction().virtualInstructionAddress() < 0x1400000)) { trap = true; system = false; } Could anyone please give some hint about this? Thanks in advance, Song
