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

Function DebugPrintJob

engine/dlib/src/dlib/jobsystem.cpp:725–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723 ProcessFinishedJobs(context, items);
724}
725static void DebugPrintJob(JobThreadContext* ctx, HJob hjob)
726{
727 uint32_t generation = ToGeneration(hjob);
728 uint32_t index = ToIndex(hjob);
729 JobItem& item = ctx->m_Items.Get(index);
730 printf(" job: %p (gen: %u, idx: %u)\n", (void*)(uintptr_t)hjob, index, generation);
731}
732
733void JobSystemDebugPrintJobs(HJobContext context)
734{

Callers 1

JobSystemDebugPrintJobsFunction · 0.85

Calls 3

ToGenerationFunction · 0.85
ToIndexFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected