示例#1
0
void MIPSEmuDumpSummary(Emu *self, FILE *f)
{
	MIPSEmu *emu = asMIPSEmu(self);

	/* Call parent */
	EmuDumpSummary(self, f);

	/* More statistics */
	fprintf(f, "Contexts = %d\n", emu->running_list_max);
	fprintf(f, "Memory = %lu\n", mem_max_mapped_space);
}
示例#2
0
文件: emu.c 项目: agostini01/nyanRepo
void SIEmuDumpSummary(Emu *self, FILE *f)
{
	SIEmu *emu = asSIEmu(self);

	/* Call parent */
	EmuDumpSummary(self, f);

	/* More statistics */
	fprintf(f, "NDRangeCount = %d\n", emu->ndrange_count);
	fprintf(f, "WorkGroupCount = %lld\n", emu->work_group_count);
	fprintf(f, "BranchInstructions = %lld\n", emu->branch_inst_count);
	fprintf(f, "LDSInstructions = %lld\n", emu->lds_inst_count);
	fprintf(f, "ScalarALUInstructions = %lld\n", emu->scalar_alu_inst_count);
	fprintf(f, "ScalarMemInstructions = %lld\n", emu->scalar_mem_inst_count);
	fprintf(f, "VectorALUInstructions = %lld\n", emu->vector_alu_inst_count);
	fprintf(f, "VectorMemInstructions = %lld\n", emu->vector_mem_inst_count);
}
示例#3
0
void FrmEmuDumpSummary(Emu *self, FILE *f)
{
    /* Call parent */
    EmuDumpSummary(self, f);
}