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

Reply via email to