MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ComputeCallstackHash

Function ComputeCallstackHash

Source/Utility/Profiler.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42};
43
44inline u32 ComputeCallstackHash( const std::vector< CProfileItem * > & items )
45{
46 if( items.empty() )
47 return 0;
48
49 return murmur2_hash( reinterpret_cast< const u8 * >( &items[0] ), items.size() * sizeof( CProfileItem * ), 0 );
50}
51
52class CProfileCallstack
53{

Callers 2

CProfileCallstackMethod · 0.85
GetActiveStatsMethod · 0.85

Calls 3

murmur2_hashFunction · 0.85
emptyMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected