MCPcopy Create free account
hub / github.com/dds-bridge/dds / EndThreadTimer

Method EndThreadTimer

library/src/system/scheduler.cpp:859–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857
858
859void Scheduler::EndThreadTimer(const int thrId)
860{
861 timersThread[thrId].End();
862 int timeUser = timersThread[thrId].UserTime();
863
864 hands[ threadToHand[thrId] ].time = timeUser;
865 hands[ threadToHand[thrId] ].thread = thrId;
866
867 group[ threadCurrGroup[thrId] ].actual += timeUser;
868}
869
870
871void Scheduler::StartBlockTimer()

Callers

nothing calls this directly

Calls 2

UserTimeMethod · 0.80
EndMethod · 0.45

Tested by

no test coverage detected