summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlos <caiosignor@gmail.com>2020-03-26 17:20:18 -0300
committerJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>2020-04-29 12:13:38 -0300
commitac9e9cbce8f51b4b03adb96a38486fa316d15158 (patch)
treeed3cfdb7433f79d7ee6cfbd228b4f41fcce3e752
parentda4b9ec8581c7bcf49103dfb55a8f53d16e88830 (diff)
removed a false #ifndef _WIN32
-rw-r--r--src/lib/eina/eina_debug_cpu.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/eina/eina_debug_cpu.c b/src/lib/eina/eina_debug_cpu.c
index 27e52f7199..473015a15a 100644
--- a/src/lib/eina/eina_debug_cpu.c
+++ b/src/lib/eina/eina_debug_cpu.c
@@ -80,11 +80,8 @@ _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 #ifndef _WIN32 83 pthread_getcpuclockid(self, &cid);
84 pthread_getcpuclockid(self, &cid); 84 (_eina_debug_thread_active[i].thread, &cid);
85 #endif
86 // pthread_getcpuclockid
87 (_eina_debug_thread_active[i].thread, &cid);
88 // get the clock cpu time accumulation for that threas 85 // get the clock cpu time accumulation for that threas
89 clock_gettime(cid, &t); 86 clock_gettime(cid, &t);
90 _eina_debug_thread_active[i].clok = t; 87 _eina_debug_thread_active[i].clok = t;