diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-10-02 18:19:17 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-10-02 18:19:17 +0000 |
commit | 83d96c6e3ef740fa40558b4a12bfa832838fcc8e (patch) | |
tree | b1c803117e0de74519082309450efb600f3a5a37 /sim/ppc/ChangeLog | |
parent | 3d7c42c988b599c12302a1d5786be79b7097248e (diff) | |
download | gdb-83d96c6e3ef740fa40558b4a12bfa832838fcc8e.zip gdb-83d96c6e3ef740fa40558b4a12bfa832838fcc8e.tar.gz gdb-83d96c6e3ef740fa40558b4a12bfa832838fcc8e.tar.bz2 |
Add support to count the number of instructions issued.
Diffstat (limited to 'sim/ppc/ChangeLog')
-rw-r--r-- | sim/ppc/ChangeLog | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index ed3b900..f041e61 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,9 +1,28 @@ Mon Oct 2 11:46:37 1995 Michael Meissner <meissner@tiktok.cygnus.com> + * cpu.c (struct _cpu): Add number_of_insns field to tract how many + instructions are executed. + (cpu_increment_number_of_insns): New function to increment the + number of instructions issued. + (cpu_get_number_of_insns): New function to return the number of + instructions issued. + (cpu_print_info): New function to print cpu related information. + At present, print the number of instructions executed. + + * gen_idecode_c: Emit call to cpu_increment_number_of_insns within + idecode_issue. + + * psim.c (psim_print_info): New function to iterate over each of + the CPU's calling cpu_print_info. + + * psim.h,cpu.h: Add new declarations. + * sim_calls.c (sim_open): Add argument processing to add the same switches main.c accepts for the standalone processor. + (sim_close): Call psim_print_info if -I. + * main.c (main): Add comment saying to update sim_calls.c when - adding switches. + adding switches. Add -I to call psim_print_info when done. Sun Oct 1 13:52:59 1995 Michael Meissner <meissner@tiktok.cygnus.com> |