MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / emptyFunction

Function emptyFunction

runtime/PerfHelper.h:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34// Simple function that performs no computation
35template<int addTo>
36int
37emptyFunction() {
38 return addTo;
39}
40
41// Used to approximate the cost to dereference to a function array
42static int (*functionArray[50])() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected