MCPcopy Create free account
hub / github.com/clementgallet/libTAS / clockToTypeUntracked

Method clockToTypeUntracked

src/library/DeterministicTimer.cpp:495–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495SharedConfig::TimeCallType DeterministicTimer::clockToTypeUntracked(clockid_t clock)
496{
497 switch (clock) {
498 case CLOCK_REALTIME:
499 case CLOCK_REALTIME_ALARM:
500 case CLOCK_REALTIME_COARSE:
501 case CLOCK_TAI:
502 return SharedConfig::TIMETYPE_UNTRACKED_REALTIME;
503 default:
504 return SharedConfig::TIMETYPE_UNTRACKED_MONOTONIC;
505 }
506}
507
508}

Callers 1

pthread_cond_timedwaitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected