MCPcopy Create free account
hub / github.com/Kitware/CMake / StartTimer

Method StartTimer

Source/CTest/cmProcess.cxx:159–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void cmProcess::StartTimer()
160{
161 if (auto ctimeout = this->GetComputedTimeout()) {
162 this->TimeoutReason_ = ctimeout->Reason;
163 auto msec = std::chrono::duration_cast<std::chrono::milliseconds>(
164 ctimeout->Duration);
165 this->Timer.start(&cmProcess::OnTimeoutCB,
166 static_cast<uint64_t>(msec.count()), 0,
167 cm::uv_update_time::no);
168 }
169}
170
171bool cmProcess::Buffer::GetLine(std::string& line)
172{

Callers 3

StartProcessMethod · 0.95
OnTimeoutMethod · 0.95
ChangeTimeoutMethod · 0.95

Calls 3

GetComputedTimeoutMethod · 0.95
startMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected