Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1403)

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp

Issue 2858223003: Add TRACE_EVENTX() in WebAudio rendering pipe line (Closed)
Patch Set: Adjusting trace locations Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/audio/AudioDestination.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
index 2cd793cce5e64477945d2d1600c674fa7188d755..fcfeb56484b5b8831c9f835f48fe82e127e4d8a3 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
@@ -29,6 +29,7 @@
#include "modules/webaudio/BaseAudioContext.h"
#include "platform/audio/AudioUtilities.h"
#include "platform/audio/DenormalDisabler.h"
+#include "platform/instrumentation/tracing/TraceEvent.h"
#include "platform/wtf/Atomics.h"
namespace blink {
@@ -46,6 +47,8 @@ void AudioDestinationHandler::Render(AudioBus* source_bus,
AudioBus* destination_bus,
size_t number_of_frames,
const AudioIOPosition& output_position) {
+ TRACE_EVENT0("webaudio", "AudioDestinationHandler::Render");
+
// We don't want denormals slowing down any of the audio processing
// since they can very seriously hurt performance. This will take care of all
// AudioNodes because they all process within this scope.
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/audio/AudioDestination.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698