OSDN Git Service

2010-05-11 Silvius Rus <silvius.rus@gmail.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 May 2010 10:23:20 +0000 (10:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 May 2010 10:23:20 +0000 (10:23 +0000)
commit9089aed24617e7078efae23406467e78b2f98251
tree6f30d6695403d298e84452162dbcfe9db10399d8
parent1159083ae13a3aee99456ee77be4063c1981845a
2010-05-11  Silvius Rus  <silvius.rus@gmail.com>

PR libstdc++/43259
* include/profile/impl/profiler_algos.h: New.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* include/profile/impl/profiler.h
(_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
* include/profile/impl/profiler_trace.h
(__mutex_t, __lock, __unlock): Remove.
(__lock_object_table, __lock_stack_table): Remove. Replace uses with
calls to __gnu_cxx::__mutex::lock.
(__unlock_object_table, __unlock_stack_table): Remove. Replace uses
with calls to __gnu_cxx::__mutex::unlock.
(__warn, __cost_factor_writer, __cost_factor_setter): Add.
* testsuite/ext/profile/profiler_algos.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159269 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/testsuite/ext/profile/profiler_algos.cc [new file with mode: 0644]