+Tue Oct 21 17:39:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * interp.c (sim_info): Call profile_print.
+
Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (SIM_OBJS): Add sim-profile.o module.
pr_addr (STATE_MEM_BASE (sd)));
#if !defined(FASTSIM)
-#if 0
- /* at present this simulator executes one instruction per
- simulator cycle. Consequently this data never changes */
- if (instruction_fetch_overflow != 0)
- sim_io_printf (sd, "Instruction fetches = 0x%08X%08X\n",
- instruction_fetch_overflow, instruction_fetches);
- else
- sim_io_printf (sd, "Instruction fetches = %d\n", instruction_fetches);
-#endif
/* It would be a useful feature, if when performing multi-cycle
simulations (rather than single-stepping) we keep the start and
end times of the execution, so that we can give a performance
/* profile minpc */
/* profile maxpc */
}
+ profile_print (sd, STATE_VERBOSE_P (sd), NULL, NULL);
}