NUGU SDK Linux
1.7.6
|
Go to the source code of this file.
Classes | |
struct | nugu_prof_data |
Profiling raw data. More... | |
Typedefs | |
typedef void(* | NuguProfCallback) (enum nugu_prof_type type, const struct nugu_prof_data *data, void *userdata) |
Callback prototype for receiving an attachment. More... | |
Functions | |
NUGU_API void | nugu_prof_clear (void) |
clear all cached profiling data | |
NUGU_API void | nugu_prof_disable_tracelog (void) |
turn off the profiling trace log message | |
NUGU_API void | nugu_prof_dump (enum nugu_prof_type from, enum nugu_prof_type to) |
Dump the profiling data between 'from' type to 'to' type. More... | |
NUGU_API void | nugu_prof_enable_tracelog (void) |
turn on the profiling trace log message | |
NUGU_API int | nugu_prof_get_diff_msec (const struct nugu_prof_data *prof1, const struct nugu_prof_data *prof2) |
Get the time difference(prof2 - prof1) value in milliseconds. More... | |
NUGU_API int | nugu_prof_get_diff_msec_timespec (const struct timespec *ts1, const struct timespec *ts2) |
Get the time difference(ts2 - ts1) value in milliseconds. More... | |
NUGU_API int | nugu_prof_get_diff_msec_type (enum nugu_prof_type type1, enum nugu_prof_type type2) |
Get the time difference(ts2 - ts1) value in milliseconds. More... | |
NUGU_API struct nugu_prof_data * | nugu_prof_get_last_data (enum nugu_prof_type type) |
Get last cached data by profiling type. More... | |
NUGU_API const char * | nugu_prof_get_type_name (enum nugu_prof_type type) |
Get string type name for profiling type. More... | |
NUGU_API int | nugu_prof_mark (enum nugu_prof_type type) |
Marking to profiling data and emit the callback. More... | |
NUGU_API int | nugu_prof_mark_data (enum nugu_prof_type type, const char *dialog_id, const char *msg_id, const char *contents) |
Marking to profiling data with additional id and emit the callback. More... | |
NUGU_API void | nugu_prof_set_callback (NuguProfCallback callback, void *userdata) |
Set profiling callback. More... | |