summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlos <caiosignor@gmail.com>2020-03-30 17:27:25 -0300
committerJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>2020-04-29 12:13:38 -0300
commit8666e10639cf12484f1f7d351f607e97f1ae315b (patch)
tree825cfc169da3c238e2516eaacef2f9849a811c39
parentac9e9cbce8f51b4b03adb96a38486fa316d15158 (diff)
tiz answer
-rw-r--r--src/lib/eina/eina_debug_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_debug_cpu.c b/src/lib/eina/eina_debug_cpu.c
index 473015a15a..cce4f849bc 100644
--- a/src/lib/eina/eina_debug_cpu.c
+++ b/src/lib/eina/eina_debug_cpu.c
@@ -80,7 +80,7 @@ _sysmon(void *data EINA_UNUSED, Eina_Thread thr EINA_UNUSED)
80 for (i = 0; i < _eina_debug_thread_active_num; i++) 80 for (i = 0; i < _eina_debug_thread_active_num; i++)
81 { 81 {
82 // get the correct clock id to use for the target thread 82 // get the correct clock id to use for the target thread
83 pthread_getcpuclockid(self, &cid); 83 pthread_getcpuclockid
84 (_eina_debug_thread_active[i].thread, &cid); 84 (_eina_debug_thread_active[i].thread, &cid);
85 // get the clock cpu time accumulation for that threas 85 // get the clock cpu time accumulation for that threas
86 clock_gettime(cid, &t); 86 clock_gettime(cid, &t);