forked from enlightenment/enlightenment
add e_main_ts() to provide a facility for debugging time spent on certain activities in main loop
SVN revision: 74423
This commit is contained in:
parent
a72afa83fc
commit
c2ad72cf6b
|
@ -227,6 +227,7 @@ typedef struct _E_Rect E_Rect;
|
||||||
|
|
||||||
EAPI E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void *data, int once);
|
EAPI E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void *data, int once);
|
||||||
EAPI void e_main_idler_before_del(E_Before_Idler *eb);
|
EAPI void e_main_idler_before_del(E_Before_Idler *eb);
|
||||||
|
EAPI void e_main_ts(const char *str);
|
||||||
|
|
||||||
struct _E_Before_Idler
|
struct _E_Before_Idler
|
||||||
{
|
{
|
||||||
|
|
|
@ -1154,6 +1154,12 @@ e_main_idler_before_del(E_Before_Idler *eb)
|
||||||
eb->delete_me = 1;
|
eb->delete_me = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI void
|
||||||
|
e_main_ts(const char *str)
|
||||||
|
{
|
||||||
|
TS(str);
|
||||||
|
}
|
||||||
|
|
||||||
/* local functions */
|
/* local functions */
|
||||||
static void
|
static void
|
||||||
_e_main_shutdown(int errcode)
|
_e_main_shutdown(int errcode)
|
||||||
|
|
Loading…
Reference in New Issue