3 // Copyright (C) 2009, 2010 Free Software Foundation, Inc.
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
20 /** @file profile/base.h
21 * @brief Sequential helper functions.
22 * This file is a GNU profile extension to the Standard C++ Library.
25 // Written by Lixia Liu
27 #ifndef _GLIBCXX_PROFILE_BASE_H
28 #define _GLIBCXX_PROFILE_BASE_H 1
31 #include <profile/impl/profiler.h>
33 // Profiling mode namespaces.
36 * @namespace std::__profile
37 * @brief GNU profile code, replaces standard behavior with profile behavior.
39 namespace std _GLIBCXX_VISIBILITY(default)
41 namespace __profile { }
45 * @namespace __gnu_profile
46 * @brief GNU profile code for public use.
48 namespace __gnu_profile
50 // Import all the profile versions of components in namespace std.
51 using namespace std::__profile;
55 #endif /* _GLIBCXX_PROFILE_BASE_H */