trace-generators/traces/implementation/InstructionTraceGenerator.cpp
void trace::InstructionTraceGenerator::event(const TraceEvent & event) {
	// every instruction we encounter is guaranteed to be mapped to in the instructionCounter
	// data structure
	FunctionalUnit fu = getFunctionalUnit(*event.instruction);
	instructionCounter[fu][event.instruction->opcode].count(*event.instruction, 
		event.active.count());
}
/*!
	\brief Called whenever an event takes place.

	Note, the const reference 'event' is only valid until event() 
	returns
*/
\brief Called whenever an event takes place.
Note, the const reference 'event' is only valid until event()
returns
\ brief Called whenever an event takes place . Note the const reference ' event ' is only valid until event () returns
void trace::InstructionTraceGenerator::event(const TraceEvent & event) {
	FunctionalUnit fu = getFunctionalUnit(*event.instruction);
	instructionCounter[fu][event.instruction->opcode].count(*event.instruction, 
		event.active.count());
}
void trace :: InstructionTraceGenerator :: event ( const TraceEvent & event ) { FunctionalUnit fu = getFunctionalUnit ( * event . instruction ) ; instructionCounter [ fu ] [ event . instruction -> opcode ] . count ( * event . instruction , event . active . count ( ) ) ; }
\brief Called whenever an event takes place.
\ brief Called whenever an event takes place .
// every instruction we encounter is guaranteed to be mapped to in the instructionCounter // data structure