< prev index next >

src/share/vm/runtime/timer.cpp

Print this page
rev 7854 : imported patch 8027962-per-phase-timing-measurements-for-strong-roots-processing
rev 7855 : [mq]: 8027962-bengt-suggestions

*** 1,7 **** /* ! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 24,36 **** #include "precompiled.hpp" #include "oops/oop.inline.hpp" #include "runtime/timer.hpp" #include "utilities/ostream.hpp" - #ifdef INCLUDE_ALL_GCS - #include "gc_implementation/g1/g1GCPhaseTimes.hpp" - #endif double TimeHelper::counter_to_seconds(jlong counter) { double count = (double) counter; double freq = (double) os::elapsed_frequency(); return counter/freq; --- 24,33 ----
*** 141,151 **** tty->flush(); } } } ! TrackPhaseTime::TrackPhaseTime(GCPhaseTimeTracker *data, uint phase) : _data(data), _phase(phase) { if (_data != NULL && _data->active()) { _last = os::elapsed_counter(); } } --- 138,148 ---- tty->flush(); } } } ! TrackPhaseTime::TrackPhaseTime(PhaseTimeData *data, uint phase) : _data(data), _phase(phase) { if (_data != NULL && _data->active()) { _last = os::elapsed_counter(); } }
< prev index next >