Time the overhead of using virtual destructors and methods. More...
#include <gtsam/base/timing.h>#include <boost/shared_ptr.hpp>#include <boost/intrusive_ptr.hpp>#include <iostream>
Go to the source code of this file.
Classes | |
| struct | Plain |
| struct | Virtual |
| struct | VirtualCounted |
Functions | |
| void | intrusive_ptr_add_ref (VirtualCounted *obj) |
| void | intrusive_ptr_release (VirtualCounted *obj) |
| int | main (int argc, char *argv[]) |
Time the overhead of using virtual destructors and methods.
Definition in file timeVirtual.cpp.
| void intrusive_ptr_add_ref | ( | VirtualCounted * | obj | ) |
Definition at line 51 of file timeVirtual.cpp.
| void intrusive_ptr_release | ( | VirtualCounted * | obj | ) |
Definition at line 52 of file timeVirtual.cpp.
Definition at line 59 of file timeVirtual.cpp.