Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/timer.cpp @ 14704:b51e29501f30
Merged with jdk9/dev/hotspot changeset 9486a41de3b7
author | twisti |
---|---|
date | Tue, 18 Mar 2014 20:19:10 -0700 |
parents | d8041d695d19 9c9f4dac029b |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
14647:8f483e200405 | 14704:b51e29501f30 |
---|---|
208 | 208 |
209 user_secs = user_time - _starting_user_time; | 209 user_secs = user_time - _starting_user_time; |
210 system_secs = system_time - _starting_system_time; | 210 system_secs = system_time - _starting_system_time; |
211 real_secs = real_time - _starting_real_time; | 211 real_secs = real_time - _starting_real_time; |
212 | 212 |
213 _logfile->print(" [Times: user=%3.2f sys=%3.2f, real=%3.2f secs] ", | 213 _logfile->print(" [Times: user=%3.2f sys=%3.2f real=%3.2f secs] ", |
214 user_secs, system_secs, real_secs); | 214 user_secs, system_secs, real_secs); |
215 | 215 |
216 } else { | 216 } else { |
217 _logfile->print("[Invalid result in TraceCPUTime]"); | 217 _logfile->print("[Invalid result in TraceCPUTime]"); |
218 } | 218 } |