MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / if

Function if

Source/ThirdParty/tracy/client/TracyCallstack.cpp:1298–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1296 }
1297#ifdef __linux
1298 else if( s_kernelSym )
1299 {
1300 auto it = std::lower_bound( s_kernelSym, s_kernelSym + s_kernelSymCnt, ptr, []( const KernelSymbol& lhs, const uint64_t& rhs ) { return lhs.addr + lhs.size < rhs; } );
1301 if( it != s_kernelSym + s_kernelSymCnt )
1302 {
1303 cb_data[0].name = CopyStringFast( it->name );
1304 cb_data[0].file = CopyStringFast( "<kernel>" );
1305 cb_data[0].line = 0;
1306 cb_data[0].symLen = it->size;
1307 cb_data[0].symAddr = it->addr;
1308 return { cb_data, 1, it->mod ? it->mod : "<kernel>" };
1309 }
1310 }
1311#endif
1312
1313 cb_data[0].name = CopyStringFast( "[unknown]" );

Callers 9

IterClass · 0.50
PxProfileScopedMethod · 0.50
IterClass · 0.50
runCurrentTestMethod · 0.50
catch.hppFile · 0.50
uri.hFile · 0.50
pointer.hFile · 0.50
filereadstream.hFile · 0.50
write_int_dataClass · 0.50

Calls 1

CopyStringFastFunction · 0.85

Tested by

no test coverage detected