1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
117 #else /* USDT2 */ |
117 #else /* USDT2 */ |
118 HS_PRIVATE_SAFEPOINT_BEGIN(); |
118 HS_PRIVATE_SAFEPOINT_BEGIN(); |
119 #endif /* USDT2 */ |
119 #endif /* USDT2 */ |
120 |
120 |
121 // Print the time interval in which the app was executing |
121 // Print the time interval in which the app was executing |
122 if (PrintGCApplicationConcurrentTime) { |
122 if (PrintGCApplicationConcurrentTime && _app_timer.is_updated()) { |
123 gclog_or_tty->date_stamp(PrintGCDateStamps); |
123 gclog_or_tty->date_stamp(PrintGCDateStamps); |
124 gclog_or_tty->stamp(PrintGCTimeStamps); |
124 gclog_or_tty->stamp(PrintGCTimeStamps); |
125 gclog_or_tty->print_cr("Application time: %3.7f seconds", |
125 gclog_or_tty->print_cr("Application time: %3.7f seconds", |
126 last_application_time_sec()); |
126 last_application_time_sec()); |
127 } |
127 } |