MCPcopy Create free account
hub / github.com/defold/defold / GetIndent

Function GetIndent

engine/profiler/src/profiler_render.cpp:993–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991 }
992
993 static const char* GetIndent(int i)
994 {
995 static char buf[512];
996 uint32_t count = i * 4;
997 if (count >= sizeof(buf))
998 count = sizeof(buf) - 1;
999
1000 memset(buf, ' ', count);
1001 buf[count] = 0;
1002 return buf;
1003 }
1004
1005 static void DumpThread(ProfilerThread* thread)
1006 {

Callers 2

DumpThreadFunction · 0.85
DumpPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected