This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/sim/common sim-profile.c sim-profile.h
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/sim/common sim-profile.c sim-profile.h
- From: brolley at sourceware dot cygnus dot com
- Date: 15 Aug 2000 18:39:02 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: brolley@sourceware.cygnus.com 2000-08-15 11:39:02
Modified files:
sim/common : sim-profile.c sim-profile.h
Log message:
2000-08-15 Dave Brolley <brolley@redhat.com>
* sim-profile.h (PROFILE_DATA): Add cpu_freq.
(PROFILE_CPU_FREQ): New macro.
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
(profile-options): Add profile-cpu-frequency.
(parse_frequency): New function.
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
(profile_print_speed): Print cpu frequency and simulated execution time.
Re-indent other items to match.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/sim-profile.c.diff?cvsroot=src&r1=1.1.1.2&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/common/sim-profile.h.diff?cvsroot=src&r1=1.1.1.2&r2=1.2