Measuring the overhead of class operations

1 view
Skip to first unread message

Alex Vinokur

unread,
Mar 21, 2005, 8:23:36 AM3/21/05
to log-...@googlegroups.com
===============
No optimization
---------------
virtual px->f(1)
ptr-to-fct p[1](ps,1)
virtual x.f(1)
ptr-to-fct p[1](&s,1)
member px->g(1)
global g(ps,1)
member x.g(1)
global g(&s,1)
static X::h(1)
global h(1)
inline px->k(1)
macro K(ps,1)
inline x.k(1)
macro K(&s,1)
base1 member pc->g(i)
base2 member pc->gg(i)
base1 virtual pa->f(i)
base2 virtual pb->ff(i)
base1 down-cast cast(pa,pc)
base2 down-cast cast(pb,pc)
base1 up-cast cast(pc,pa)
base2 up-cast cast(pc,pb)
base2 cross-cast cast(pb,pa)
base1 down-cast2 cast(pa,pcc)
base2 down-cast cast(pb,pcc)
base1 up-cast cast(pcc,pa)
base2 up-cast2 cast(pcc,pb)
base2 cross-cast2 cast(pa,pb)
base1 cross-cast2 cast(pb,pa)
vbase member pd->gg(i)
vbase virtual pa->f(i)
vbase down-cast cast(pa,pd)
vbase up-cast cast(pd,pa)
vbase typeid(pa)
vbase typeid(pd)
pmf virtual (pa->*pmf)(i)
pmf (pa->*pmf)(i)
call by_ref(pp)
call by_val(pp)
call ptr-to-fct oper(h,glob)
call fct-obj oper(fct,glob)
===============

Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn

perfo_log_trd1.txt
Reply all
Reply to author
Forward
0 new messages