THRIFT-922. cpp: Add profiling code to help conversion to C++ templates
authorDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:10 +0000 (17:10 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:10 +0000 (17:10 +0000)
commitc3b3622158009ea9db85607a4901d05c63108875
tree5c5a7d4452958349f93bb7f6d5c67ea3a9938e12
parent23248713345e36d8ed66704a9a58a5f39a48d942
THRIFT-922. cpp: Add profiling code to help conversion to C++ templates

Add some profiling code to track when potentially unnecessary virtual
calls are made in the thrift C++ serialization and deserialization code.
This can be used to help service implementors determine which places in
their code should be updated to use an appropriate thrift template
class.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005140 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc
contrib/parse_profiling.py [new file with mode: 0755]
lib/cpp/src/TLogging.h
lib/cpp/src/Thrift.h
lib/cpp/src/VirtualProfiling.cpp [new file with mode: 0644]