MCPcopy Create free account
hub / github.com/apache/brpc / run

Method run

test/bthread_timer_thread_unittest.cpp:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 void run()
187 {
188 clock_gettime(CLOCK_REALTIME, &_running_time);
189 EXPECT_EQ(_expected_unschedule_result,
190 _timer_thread->unschedule(_keeper1->_task_id));
191 _keeper2->schedule(_timer_thread);
192 }
193
194 static void routine(void* arg)
195 {

Callers 2

routineMethod · 0.45
routineMethod · 0.45

Calls 3

clock_gettimeFunction · 0.85
unscheduleMethod · 0.80
scheduleMethod · 0.45

Tested by

no test coverage detected