MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / profileNode

Function profileNode

include/daScript/simulate/simulate.h:958–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956#if DAS_ENABLE_PROFILER
957
958__forceinline void profileNode ( SimNode * node ) {
959 if ( auto fi = node->debugInfo.fileInfo ) {
960 auto li = node->debugInfo.line;
961 auto & pdata = fi->profileData;
962 if ( pdata.size() <= li ) pdata.resize ( li + 1 );
963 pdata[li] ++;
964 }
965}
966
967#endif
968

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected