This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r139134 - in /branches/profile-stdlib: gcc/c-cp...


Author: lixialiu
Date: Fri Aug 15 18:26:53 2008
New Revision: 139134

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139134
Log:
This patch has implemented an tool to advise programmers to use
standard c++ library efficiently. The patch includes instrumentation
in standard c++ library, profiling runtime library and wrapper of
profile mode. The patch also includes modification in GCC driver to
turn on tool with option -fprofile-stdlib. Current version contains four
diagnostics: HASHTABLE_TOO_SMALL, HASHTABLE_TOO_LARGE,
VECTOR_TOO_SMALL and VECTOR_TOO_LARGE.

The details can be referred to the design document of profile mode in manual.


Added:
    branches/profile-stdlib/libstdc++-v3/include/profile/
    branches/profile-stdlib/libstdc++-v3/include/profile/base.h
    branches/profile-stdlib/libstdc++-v3/include/profile/bitset
    branches/profile-stdlib/libstdc++-v3/include/profile/deque
    branches/profile-stdlib/libstdc++-v3/include/profile/hashtable.h
    branches/profile-stdlib/libstdc++-v3/include/profile/list
    branches/profile-stdlib/libstdc++-v3/include/profile/map
    branches/profile-stdlib/libstdc++-v3/include/profile/map.h
    branches/profile-stdlib/libstdc++-v3/include/profile/multimap.h
    branches/profile-stdlib/libstdc++-v3/include/profile/multiset.h
    branches/profile-stdlib/libstdc++-v3/include/profile/set
    branches/profile-stdlib/libstdc++-v3/include/profile/set.h
    branches/profile-stdlib/libstdc++-v3/include/profile/unordered_map
    branches/profile-stdlib/libstdc++-v3/include/profile/unordered_set
    branches/profile-stdlib/libstdc++-v3/include/profile/vector
    branches/profile-stdlib/libstdc++-v3/libprofc++/
    branches/profile-stdlib/libstdc++-v3/libprofc++/Makefile.am
    branches/profile-stdlib/libstdc++-v3/libprofc++/Makefile.in
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler.h
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_container_size.cc
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_container_size.h
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_hashtable_size.cc
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_node.cc
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_node.h
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_state.cc
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_state.h
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_trace.cc
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_trace.h
    branches/profile-stdlib/libstdc++-v3/libprofc++/profiler_vector_size.cc
    branches/profile-stdlib/libstdc++-v3/testsuite/31_profile/
    branches/profile-stdlib/libstdc++-v3/testsuite/31_profile/hash_map.cc
    branches/profile-stdlib/libstdc++-v3/testsuite/31_profile/unordered.cc
    branches/profile-stdlib/libstdc++-v3/testsuite/31_profile/vector.cc
Modified:
    branches/profile-stdlib/libstdc++-v3/Makefile.am
    branches/profile-stdlib/libstdc++-v3/Makefile.in
    branches/profile-stdlib/libstdc++-v3/acinclude.m4
    branches/profile-stdlib/libstdc++-v3/configure
    branches/profile-stdlib/libstdc++-v3/include/Makefile.am
    branches/profile-stdlib/libstdc++-v3/include/Makefile.in
    branches/profile-stdlib/libstdc++-v3/include/backward/hash_map
    branches/profile-stdlib/libstdc++-v3/include/backward/hash_set
    branches/profile-stdlib/libstdc++-v3/include/bits/c++config
    branches/profile-stdlib/libstdc++-v3/include/std/bitset
    branches/profile-stdlib/libstdc++-v3/include/std/deque
    branches/profile-stdlib/libstdc++-v3/include/std/list
    branches/profile-stdlib/libstdc++-v3/include/std/map
    branches/profile-stdlib/libstdc++-v3/include/std/set
    branches/profile-stdlib/libstdc++-v3/include/std/unordered_map
    branches/profile-stdlib/libstdc++-v3/include/std/unordered_set
    branches/profile-stdlib/libstdc++-v3/include/std/vector
    branches/profile-stdlib/libstdc++-v3/include/tr1_impl/hashtable
    branches/profile-stdlib/libstdc++-v3/src/Makefile.am
    branches/profile-stdlib/libstdc++-v3/src/Makefile.in
    branches/profile-stdlib/libstdc++-v3/testsuite/23_containers/vector/resize/moveable.cc
    branches/profile-stdlib/libstdc++-v3/testsuite/Makefile.am
    branches/profile-stdlib/libstdc++-v3/testsuite/Makefile.in

Changes in other areas also in this revision:
Modified:
    branches/profile-stdlib/gcc/c-cppbuiltin.c
    branches/profile-stdlib/gcc/common.opt
    branches/profile-stdlib/gcc/cp/g++spec.c
    branches/profile-stdlib/gcc/gcc.c
    branches/profile-stdlib/gcc/opts.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]