MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / monitorThread

Method monitorThread

libapp2sys/src/main/cpp/procutil.h:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168
169
170 static void* monitorThread(void *t) {
171 ThreadJiffiesMonitor *thiz = (ThreadJiffiesMonitor *) t;
172 while (thiz->m_running) {
173 thiz->run();
174 usleep(thiz->m_sampleRateUS);
175 }
176 return NULL;
177 }
178
179 int run() {
180 m_pStatReader->update();

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected