Classes | Functions
timeVirtual.cpp File Reference

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>
Include dependency graph for timeVirtual.cpp:

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[])
 

Detailed Description

Time the overhead of using virtual destructors and methods.

Author
Richard Roberts
Date
Dec 3, 2010
Author
Richard Roberts
Date
Nov 6, 2011

Definition in file timeVirtual.cpp.

Function Documentation

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.

int main ( int  argc,
char *  argv[] 
)

Definition at line 59 of file timeVirtual.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42