equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "gc/g1/g1FullGCTask.hpp" |
26 #include "gc/g1/g1FullGCTask.hpp" |
27 #include "logging/log.hpp" |
27 #include "logging/log.hpp" |
28 #include "utilities/ticks.inline.hpp" |
28 #include "utilities/ticks.hpp" |
29 |
29 |
30 void G1FullGCTask::log_task(const char* name, uint worker_id, const Ticks& start, const Ticks& stop) { |
30 void G1FullGCTask::log_task(const char* name, uint worker_id, const Ticks& start, const Ticks& stop) { |
31 Tickspan duration = stop - start; |
31 Tickspan duration = stop - start; |
32 double duration_ms = TimeHelper::counter_to_millis(duration.value()); |
32 double duration_ms = TimeHelper::counter_to_millis(duration.value()); |
33 log_trace(gc, phases)("%s (%u) %.3fms", name, worker_id, duration_ms); |
33 log_trace(gc, phases)("%s (%u) %.3fms", name, worker_id, duration_ms); |