Mercurial > hg > truffle
comparison src/share/vm/runtime/os.cpp @ 3800:bf6481e5f96d
7061225: os::print_cpu_info() should support os-specific data
Reviewed-by: dholmes, never, jwilhelm, kvn
author | jcoomes |
---|---|
date | Wed, 06 Jul 2011 13:02:54 -0700 |
parents | 677234770800 |
children | 46cb9a7b8b01 24cee90e9453 |
comparison
equal
deleted
inserted
replaced
3799:48048b59a551 | 3800:bf6481e5f96d |
---|---|
759 st->print("total %d", os::processor_count()); | 759 st->print("total %d", os::processor_count()); |
760 // It's not safe to query number of active processors after crash | 760 // It's not safe to query number of active processors after crash |
761 // st->print("(active %d)", os::active_processor_count()); | 761 // st->print("(active %d)", os::active_processor_count()); |
762 st->print(" %s", VM_Version::cpu_features()); | 762 st->print(" %s", VM_Version::cpu_features()); |
763 st->cr(); | 763 st->cr(); |
764 pd_print_cpu_info(st); | |
764 } | 765 } |
765 | 766 |
766 void os::print_date_and_time(outputStream *st) { | 767 void os::print_date_and_time(outputStream *st) { |
767 time_t tloc; | 768 time_t tloc; |
768 (void)time(&tloc); | 769 (void)time(&tloc); |