Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
This commit is contained in:
@@ -277,14 +277,14 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
{
|
||||
EVLOG("nsAppShell::ProcessNextNativeEvent %d", mayWait);
|
||||
|
||||
SAMPLE_LABEL("nsAppShell", "ProcessNextNativeEvent");
|
||||
PROFILER_LABEL("nsAppShell", "ProcessNextNativeEvent");
|
||||
nsAutoPtr<AndroidGeckoEvent> curEvent;
|
||||
{
|
||||
MutexAutoLock lock(mCondLock);
|
||||
|
||||
curEvent = PopNextEvent();
|
||||
if (!curEvent && mayWait) {
|
||||
SAMPLE_LABEL("nsAppShell::ProcessNextNativeEvent", "Wait");
|
||||
PROFILER_LABEL("nsAppShell::ProcessNextNativeEvent", "Wait");
|
||||
// hmm, should we really hardcode this 10s?
|
||||
#if defined(DEBUG_ANDROID_EVENTS)
|
||||
PRTime t0, t1;
|
||||
|
||||
Reference in New Issue
Block a user