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)
commit090321281be9a379e61e6828a2372d544ff17bd0
treee31cf1b465a9daa6097eb17f519637db19a8c06c
parent1db77c8ec957684c09a03910ac18681a75c07554
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