/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/ |
D | channel_trace.cc | 44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data, in TraceEvent() function in grpc_core::channelz::ChannelTrace::TraceEvent 52 memory_usage_(sizeof(TraceEvent) + grpc_slice_memory_usage(data)) {} in TraceEvent() 54 ChannelTrace::TraceEvent::TraceEvent(Severity severity, const grpc_slice& data) in TraceEvent() function in grpc_core::channelz::ChannelTrace::TraceEvent 60 memory_usage_(sizeof(TraceEvent) + grpc_slice_memory_usage(data)) {} in TraceEvent() 62 ChannelTrace::TraceEvent::~TraceEvent() { grpc_slice_unref_internal(data_); } in ~TraceEvent() 82 TraceEvent* it = head_trace_; in ~ChannelTrace() 84 TraceEvent* to_free = it; in ~ChannelTrace() 91 void ChannelTrace::AddTraceEventHelper(TraceEvent* new_trace_event) { in AddTraceEventHelper() 105 TraceEvent* to_free = head_trace_; in AddTraceEventHelper() 117 AddTraceEventHelper(new TraceEvent(severity, data)); in AddTraceEvent() [all …]
|
D | channel_trace.h | 87 class TraceEvent { 90 TraceEvent(Severity severity, const grpc_slice& data, 95 TraceEvent(Severity severity, const grpc_slice& data); 97 ~TraceEvent(); 104 TraceEvent* next() const { return next_; } in next() 105 void set_next(TraceEvent* next) { next_ = next; } in set_next() 113 TraceEvent* next_; 120 void AddTraceEventHelper(TraceEvent* new_trace_event); 126 TraceEvent* head_trace_; 127 TraceEvent* tail_trace_;
|
/external/grpc-grpc/src/core/lib/channel/ |
D | channel_trace.h | 75 class TraceEvent { 78 TraceEvent(Severity severity, grpc_slice data, 83 TraceEvent(Severity severity, grpc_slice data); 85 ~TraceEvent(); 92 TraceEvent* next() const { return next_; } in next() 93 void set_next(TraceEvent* next) { next_ = next; } in set_next() 99 TraceEvent* next_; 105 void AddTraceEventHelper(TraceEvent* new_trace_event); 111 TraceEvent* head_trace_; 112 TraceEvent* tail_trace_;
|
D | channel_trace.cc | 44 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data, in TraceEvent() function in grpc_core::channelz::ChannelTrace::TraceEvent 53 ChannelTrace::TraceEvent::TraceEvent(Severity severity, grpc_slice data) in TraceEvent() function in grpc_core::channelz::ChannelTrace::TraceEvent 60 ChannelTrace::TraceEvent::~TraceEvent() { grpc_slice_unref_internal(data_); } in ~TraceEvent() 76 TraceEvent* it = head_trace_; in ~ChannelTrace() 78 TraceEvent* to_free = it; in ~ChannelTrace() 80 Delete<TraceEvent>(to_free); in ~ChannelTrace() 85 void ChannelTrace::AddTraceEventHelper(TraceEvent* new_trace_event) { in AddTraceEventHelper() 99 TraceEvent* to_free = head_trace_; in AddTraceEventHelper() 101 Delete<TraceEvent>(to_free); in AddTraceEventHelper() 108 AddTraceEventHelper(New<TraceEvent>(severity, data)); in AddTraceEvent() [all …]
|
/external/pigweed/pw_trace/py/ |
D | trace_test.py | 24 trace.TraceEvent(trace.TraceType.Instantaneous, "m1", "L1", 1), 25 trace.TraceEvent(trace.TraceType.InstantaneousGroup, "m2", "L2", 2, "G2"), 26 trace.TraceEvent(trace.TraceType.AsyncStep, "m3", "L3", 3, "G3", 103), 27 trace.TraceEvent(trace.TraceType.DurationStart, "m4", "L4", 4), 28 trace.TraceEvent(trace.TraceType.DurationGroupStart, "m5", "L5", 5, "G5"), 29 trace.TraceEvent(trace.TraceType.AsyncStart, "m6", "L6", 6, "G6", 106), 30 trace.TraceEvent(trace.TraceType.DurationEnd, "m7", "L7", 7), 31 trace.TraceEvent(trace.TraceType.DurationGroupEnd, "m8", "L8", 8, "G8"), 32 trace.TraceEvent(trace.TraceType.AsyncEnd, "m9", "L9", 9, "G9", 109) 54 event = trace.TraceEvent(event_type=trace.TraceType.Instantaneous, [all …]
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.h | 115 struct TraceEvent { struct 130 TraceEvent(); argument 131 TraceEvent(TraceEvent&& other); 132 ~TraceEvent(); 136 bool operator< (const TraceEvent& rhs) const { 140 TraceEvent& operator=(TraceEvent&& rhs); argument 201 const TraceEvent* other_event; argument 205 const TraceEvent* prev_event; argument 208 typedef std::vector<const TraceEvent*> TraceEventVector; 272 static Query EventThreadIs(const TraceEvent::ProcessThreadID& thread) { in EventThreadIs() [all …]
|
D | trace_event_analyzer.cc | 37 TraceEvent::TraceEvent() in TraceEvent() function in trace_analyzer::TraceEvent 44 TraceEvent::TraceEvent(TraceEvent&& other) = default; 46 TraceEvent::~TraceEvent() = default; 48 TraceEvent& TraceEvent::operator=(TraceEvent&& rhs) = default; 50 bool TraceEvent::SetFromJSON(const base::Value* event_value) { in SetFromJSON() 149 double TraceEvent::GetAbsTimeToOtherEvent() const { in GetAbsTimeToOtherEvent() 153 bool TraceEvent::GetArgAsString(const std::string& name, in GetArgAsString() 163 bool TraceEvent::GetArgAsNumber(const std::string& name, in GetArgAsNumber() 173 bool TraceEvent::GetArgAsValue(const std::string& name, in GetArgAsValue() 183 bool TraceEvent::HasStringArg(const std::string& name) const { in HasStringArg() [all …]
|
/external/skia/tools/trace/ |
D | ChromeTracingTracer.cpp | 32 struct TraceEvent { struct 44 TraceEvent* next() { in next() argument 45 return reinterpret_cast<TraceEvent*>(reinterpret_cast<char*>(this) + fSize); in next() 93 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent() 107 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent() 147 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(handle); in updateTraceEventDuration() 196 TraceEvent* traceEvent, in trace_event_to_json() 288 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush() 290 clockOffset = reinterpret_cast<TraceEvent*>(fCurBlock.fBlock.get())->fClockBegin; in flush() 298 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(block.fBlock.get()); in flush()
|
/external/skqp/tools/trace/ |
D | SkChromeTracingTracer.cpp | 32 struct TraceEvent { struct 44 TraceEvent* next() { in next() argument 45 return reinterpret_cast<TraceEvent*>(reinterpret_cast<char*>(this) + fSize); in next() 99 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent() 113 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent() 153 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(handle); in updateTraceEventDuration() 213 static void trace_event_to_json(SkJSONWriter* writer, TraceEvent* traceEvent, in trace_event_to_json() 305 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush() 307 clockOffset = reinterpret_cast<TraceEvent*>(fCurBlock.fBlock.get())->fClockBegin; in flush() 314 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(block.fBlock.get()); in flush()
|
/external/ImageMagick/MagickCore/ |
D | artifact.c | 108 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in CloneImageArtifacts() 112 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s", in CloneImageArtifacts() 204 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in DeleteImageArtifact() 238 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in DestroyImageArtifacts() 282 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in GetImageArtifact() 328 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in GetNextImageArtifact() 371 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in RemoveImageArtifact() 411 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in ResetImageArtifactIterator() 457 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename); in SetImageArtifact()
|
D | registry.c | 154 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",key); in DeleteImageRegistry() 197 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",key); in GetImageRegistry() 271 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"..."); in GetNextImageRegistry() 326 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"..."); in RegistryComponentTerminus() 359 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",key); in RemoveImageRegistry() 388 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"..."); in ResetImageRegistryIterator() 465 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",key); in SetImageRegistry()
|
D | list.c | 91 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",append->filename); in AppendImageToList() 237 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in CloneImages() 384 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s", in DeleteImages() 469 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in DestroyImageList() 528 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in DuplicateImages() 618 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in GetImageFromList() 706 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in GetImageListLength() 778 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in GetNextImageInList() 858 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",images->filename); in ImageListToArray() 912 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",insert->filename); in InsertImageInList() [all …]
|
/external/libchrome/base/trace_event/ |
D | trace_event_impl.cc | 44 TraceEvent::TraceEvent() in TraceEvent() function in base::trace_event::TraceEvent 58 TraceEvent::~TraceEvent() = default; 60 void TraceEvent::MoveFrom(std::unique_ptr<TraceEvent> other) { in MoveFrom() 84 void TraceEvent::Initialize( in Initialize() 178 void TraceEvent::Reset() { in Reset() 187 void TraceEvent::UpdateDuration(const TimeTicks& now, in UpdateDuration() 198 void TraceEvent::EstimateTraceMemoryOverhead( in EstimateTraceMemoryOverhead() 212 void TraceEvent::AppendValueAsJSON(unsigned char type, in AppendValueAsJSON() 213 TraceEvent::TraceValue value, in AppendValueAsJSON() 277 void TraceEvent::AppendAsJSON( in AppendAsJSON() [all …]
|
D | trace_buffer.h | 26 TraceEvent* AddTraceEvent(size_t* event_index); 33 TraceEvent* GetEventAt(size_t index) { in GetEventAt() 37 const TraceEvent* GetEventAt(size_t index) const { in GetEventAt() 53 TraceEvent chunk_[kTraceBufferChunkSize]; 69 virtual TraceEvent* GetEventByHandle(TraceEventHandle handle) = 0;
|
D | trace_event_impl.h | 75 class BASE_EXPORT TraceEvent { 86 TraceEvent(); 87 ~TraceEvent(); 89 void MoveFrom(std::unique_ptr<TraceEvent> other); 185 DISALLOW_COPY_AND_ASSIGN(TraceEvent);
|
D | trace_log.h | 39 class TraceEvent; variable 181 typedef void (*AddTraceEventOverrideCallback)(const TraceEvent&); 308 TraceEvent* GetEventByHandle(TraceEventHandle handle); 408 TraceEvent* trace_event); 410 TraceEvent* AddEventToThreadSharedChunkWhileLocked(TraceEventHandle* handle, 415 TraceEvent* GetEventByHandleInternal(TraceEventHandle handle, 467 std::vector<std::unique_ptr<TraceEvent>> metadata_events_;
|
D | trace_log.cc | 102 void InitializeMetadataEvent(TraceEvent* trace_event, in InitializeMetadataEvent() 206 TraceEvent* AddTraceEvent(TraceEventHandle* handle); 208 TraceEvent* GetEventByHandle(TraceEventHandle handle) { in GetEventByHandle() 273 TraceEvent* TraceLog::ThreadLocalEventBuffer::AddTraceEvent( in AddTraceEvent() 291 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent() 788 TraceEvent* TraceLog::AddEventToThreadSharedChunkWhileLocked( in AddEventToThreadSharedChunkWhileLocked() 808 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked() 1262 TraceEvent new_trace_event; in AddTraceEventWithThreadIdAndTimestamp() 1280 std::unique_ptr<TraceEvent> filtered_trace_event; in AddTraceEventWithThreadIdAndTimestamp() 1283 std::unique_ptr<TraceEvent> new_trace_event(new TraceEvent); in AddTraceEventWithThreadIdAndTimestamp() [all …]
|
D | trace_event_filter.h | 16 class TraceEvent; variable 38 virtual bool FilterTraceEvent(const TraceEvent& trace_event) const = 0;
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | TraceEvent.java | 31 public class TraceEvent implements AutoCloseable { class 149 TraceEvent.end(IDLE_EVENT_NAME); in beginHandling() 171 TraceEvent.instant("TraceEvent.LooperMonitor:IdleStats", message); in traceAndLog() 181 TraceEvent.begin(IDLE_EVENT_NAME, mNumTasksSinceLastIdle + " tasks since last idle."); in queueIdle() 208 private TraceEvent(String name, String arg) { in TraceEvent() method in TraceEvent 227 public static TraceEvent scoped(String name, String arg) { in scoped() 229 return new TraceEvent(name, arg); in scoped() 235 public static TraceEvent scoped(String name) { in scoped()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | TraceLogger.java | 38 private ArrayList<TraceEvent> traceEvents; 54 traceEvents.add(new TraceEvent(startTimeMicros, finishTimeMicros, title, description)); in log() 61 for (TraceEvent e : traceEvents) { in getLogText() 103 private class TraceEvent { class in TraceLogger 108 TraceEvent(long startTimeMicros, long finishTimeMicros, String title, String description) { in TraceEvent() method in TraceLogger.TraceEvent
|
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/ |
D | ChildProcessConnection.java | 22 import org.chromium.base.TraceEvent; 121 TraceEvent.begin("ChildProcessConnection.ChildServiceConnectionImpl.bind"); in bind() 124 TraceEvent.end("ChildProcessConnection.ChildServiceConnectionImpl.bind"); in bind() 357 TraceEvent.begin("ChildProcessConnection.start"); in start() 371 TraceEvent.end("ChildProcessConnection.start"); in start() 394 TraceEvent.begin("ChildProcessConnection.setupConnection"); in setupConnection() 403 TraceEvent.end("ChildProcessConnection.setupConnection"); in setupConnection() 440 TraceEvent.begin("ChildProcessConnection.ChildServiceConnection.onServiceConnected"); in onServiceConnectedOnLauncherThread() 479 TraceEvent.end("ChildProcessConnection.ChildServiceConnection.onServiceConnected"); in onServiceConnectedOnLauncherThread() 519 TraceEvent.begin("ChildProcessConnection.doConnectionSetup"); in doConnectionSetup() [all …]
|
/external/angle/src/third_party/trace_event/ |
D | trace_event.h | 151 #define TRACE_STR_COPY(str) WebCore::TraceEvent::TraceStringWithCopy(str) 392 TraceEvent::SamplingStateScope<bucket_number> traceEventSamplingScope(category "\0" name); 397 TraceEvent::SamplingStateScope<bucket_number>::current() 402 TraceEvent::SamplingStateScope<bucket_number>::set(category "\0" name) 408 TraceEvent::SamplingStateScope<bucket_number>::set(categoryAndName) 469 gl::TraceEvent::addTraceEvent(platform, phase, INTERNALTRACEEVENTUID(catstatic), name, \ 470 gl::TraceEvent::noEventId, flags, ##__VA_ARGS__); \ 479 gl::TraceEvent::TraceEndOnScopeClose INTERNALTRACEEVENTUID(profileScope); \ 484 gl::TraceEvent::addTraceEvent( \ 486 gl::TraceEvent::noEventId, TRACE_EVENT_FLAG_NONE, ##__VA_ARGS__); \ [all …]
|
/external/angle/src/tests/perf_tests/ |
D | ANGLEPerfTest.h | 45 struct TraceEvent final 47 TraceEvent() {} in TraceEvent() function 48 TraceEvent(char phaseIn, 169 std::vector<TraceEvent> &getTraceEventBuffer(); 223 std::vector<TraceEvent> mTraceEventBuffer;
|
/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | EarlyTraceEventTest.java | 108 try (TraceEvent e = TraceEvent.scoped(EVENT_NAME)) { in testCanRecordEventUsingTryWith() 174 try (TraceEvent e = TraceEvent.scoped(EVENT_NAME2)) { in testIgnoreEventsWhenDisabled() 260 TraceEvent.begin(EVENT_NAME); in testThreadIdIsRecorded() 262 TraceEvent.end(EVENT_NAME); in testThreadIdIsRecorded()
|
/external/libchrome/base/android/java/src/org/chromium/base/library_loader/ |
D | LibraryLoader.java | 28 import org.chromium.base.TraceEvent; 231 try (TraceEvent te = TraceEvent.scoped("LibraryLoader.preloadAlreadyLocked")) { in preloadAlreadyLocked() 359 try (TraceEvent e = TraceEvent.scoped("LibraryLoader.asyncPrefetchLibrariesToMemory")) { in doInBackground() 428 try (TraceEvent te = TraceEvent.scoped("LibraryLoader.loadAlreadyLocked")) { 616 TraceEvent.registerNativeEnabledObserver(); in initializeAlreadyLocked()
|