src/share/vm/utilities/intHisto.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2007, 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) 2001, 2010, 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.
*** 20,29 **** --- 20,35 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_UTILITIES_INTHISTO_HPP + #define SHARE_VM_UTILITIES_INTHISTO_HPP + + #include "memory/allocation.hpp" + #include "utilities/growableArray.hpp" + // This class implements a simple histogram. // A histogram summarizes a series of "measurements", each of which is // assumed (required in this implementation) to have an outcome that is a // non-negative integer. The histogram efficiently maps measurement outcomes
*** 66,70 **** --- 72,78 ---- (double)total_entries(); } // Print the histogram on the given output stream. void print_on(outputStream* st) const; }; + + #endif // SHARE_VM_UTILITIES_INTHISTO_HPP