Skip to main content
Top

2001 | OriginalPaper | Chapter

Measurement of Virtual Function Call Overhead on Modern Processors

Author : Karel Driesen

Published in: Efficient Polymorphic Calls

Publisher: Springer US

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

In this section we measure the direct cost of virtual function table lookup for a number of realistic C++ programs running on superscalar processors employing co-scheduling and simple indirect branch prediction, and identify the processor characteristics that most affect this cost. In Section 5.2 we saw that, when analyzed in isolation, the cost of dispatch sequences of table-based techniques are similar to virtual function tables. Therefore VTBL serves as a representative technique for table-based dispatch in this quantitative analysis.

Metadata
Title
Measurement of Virtual Function Call Overhead on Modern Processors
Author
Karel Driesen
Copyright Year
2001
Publisher
Springer US
DOI
https://doi.org/10.1007/978-1-4615-1681-1_6