mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 173683.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@981 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -184,13 +184,6 @@ CEF_EXPORT void cef_trace_event_end(const char* category,
|
||||
const char* arg2_name,
|
||||
uint64 arg2_val,
|
||||
int copy);
|
||||
CEF_EXPORT void cef_trace_event_if_longer_than(int64 threshold_us,
|
||||
const char* category,
|
||||
const char* name,
|
||||
const char* arg1_name,
|
||||
uint64 arg1_val,
|
||||
const char* arg2_name,
|
||||
uint64 arg2_val);
|
||||
CEF_EXPORT void cef_trace_counter(const char* category,
|
||||
const char* name,
|
||||
const char* value1_name,
|
||||
@@ -312,25 +305,6 @@ CEF_EXPORT void cef_trace_event_async_end(const char* category,
|
||||
cef_trace_event_end(category, name, arg1_name, arg1_val, arg2_name, \
|
||||
arg2_val, true)
|
||||
|
||||
// Time threshold event:
|
||||
// Only record the event if the duration is greater than the specified
|
||||
// threshold_us (time in microseconds).
|
||||
// Records a pair of begin and end events called "name" for the current
|
||||
// scope, with 0, 1 or 2 associated arguments. If the category is not
|
||||
// enabled, then this does nothing.
|
||||
// - category and name strings must have application lifetime (statics or
|
||||
// literals). They may not include " chars.
|
||||
#define CEF_TRACE_EVENT_IF_LONGER_THAN0(threshold_us, category, name) \
|
||||
cef_trace_event_if_longer_than(threshold_us, category, name, NULL, 0, NULL, 0)
|
||||
#define CEF_TRACE_EVENT_IF_LONGER_THAN1(threshold_us, category, name, \
|
||||
arg1_name, arg1_val) \
|
||||
cef_trace_event_if_longer_than(threshold_us, category, name, arg1_name, \
|
||||
arg1_val, NULL, 0)
|
||||
#define CEF_TRACE_EVENT_IF_LONGER_THAN2(threshold_us, category, name, \
|
||||
arg1_name, arg1_val, arg2_name, arg2_val) \
|
||||
cef_trace_event_if_longer_than(threshold_us, category, name, arg1_name, \
|
||||
arg1_val, arg2_name, arg2_val)
|
||||
|
||||
// Records the value of a counter called "name" immediately. Value
|
||||
// must be representable as a 32 bit integer.
|
||||
// - category and name strings must have application lifetime (statics or
|
||||
|
Reference in New Issue
Block a user