| 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 |