tiz answer

This commit is contained in:
carlos 2020-03-30 17:27:25 -03:00 committed by João Paulo Taylor Ienczak Zanette
parent ac9e9cbce8
commit 8666e10639
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ _sysmon(void *data EINA_UNUSED, Eina_Thread thr EINA_UNUSED)
for (i = 0; i < _eina_debug_thread_active_num; i++)
{
// get the correct clock id to use for the target thread
pthread_getcpuclockid(self, &cid);
pthread_getcpuclockid
(_eina_debug_thread_active[i].thread, &cid);
// get the clock cpu time accumulation for that threas
clock_gettime(cid, &t);