OSDN Git Service

2000-08-15 Dave Brolley <brolley@redhat.com>
authorDave Brolley <brolley@redhat.com>
Tue, 15 Aug 2000 18:39:02 +0000 (18:39 +0000)
committerDave Brolley <brolley@redhat.com>
Tue, 15 Aug 2000 18:39:02 +0000 (18:39 +0000)
commit26aac2e8a11d9041a65e125111b3ebdd01ca1afb
treea473814d23b286da628369eea95e8694ab06c91e
parentbd12ea10e0a57bcbd951124d80637fd0ae305298
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.
sim/common/sim-profile.c
sim/common/sim-profile.h