Derek Foreman
853adace69
eina_evlog: Don't call get_time prematurely
...
If we're not logging events this generates a lot of wasted system
calls. They probably don't amount to much, but it's trivial to
get rid of them, and they make a mess when logging with strace.
2017-01-30 15:28:29 -06:00
Carsten Haitzler
ce3685f001
evlog - reduce overhead of getting time a little by pre-checking clock
...
this checks for clock_gettime + CLOCK_MONOTONIC or CLOCK_REALTIME at
evlog init to avoid a cmp+brang and l1 instr cache hit every get.
slightly less overhead when this is on.
2016-11-10 16:22:34 +09:00
Carsten Haitzler
42ebfa863f
evlog - no need to take lock to check if evlog is on. fix
...
this should reduce oerhead of evlog when on by a bit by not
taking+releasing a lock at all in this case.
2016-11-10 16:22:34 +09:00
Carsten Haitzler
8dd44c13c8
eina evlog - use CORRECT clock (monotonic) not gettimeofday if possible
2015-10-13 08:38:42 +09:00
Vincent Torri
a75155d8ba
eina, efl: add copyright notice.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-14 18:41:48 +02:00
Carsten Haitzler
a5635d0c01
eina evlog - fix overflow tracking
2015-05-13 22:25:09 +09:00
Carsten Haitzler
71182a57a3
eina evlog - remove stolen count - unecessary
2015-05-10 22:27:37 +09:00
Carsten Haitzler
2aeb289063
eina - begin event log infra we can get from the new debug monitor
...
we can down dump event logs. some ecore mainloop bits are logging at
the moment.
2015-05-10 19:05:54 +09:00