Lines Matching refs:TRACE_EVENT
86 TRACE_EVENT("rendering", "DrawPlayer"); // Begin "DrawPlayer" slice.
93 event will cover the time from when the `TRACE_EVENT` annotation is encountered
126 TRACE_EVENT("rendering", "DrawPlayer", "player_number", player_number);
179 TRACE_EVENT("category", "MyEvent", [&](perfetto::EventContext ctx) {
198 TRACE_EVENT("rendering", ...); // Event in the "rendering" category.
221 TRACE_EVENT("rendering,benchmark", ...);
288 TRACE_EVENT(dynamic_category, "SomeEvent", ...);
315 | `TRACE_EVENT(...)` (disabled) | 2 ns | 1 ns |
316 | `TRACE_EVENT("cat", "name")` | 285 ns | 630 ns |
317 | `TRACE_EVENT("cat", "name", <lambda>)` | 304 ns | 663 ns |
318 | `TRACE_EVENT("cat", "name", "key", value)` | 354 ns | 664 ns |
326 The following optional arguments can be passed to `TRACE_EVENT` to add extra
330 TRACE_EVENT("cat", "name"[, track][, timestamp]
340 TRACE_EVENT("category", "Name", [&](perfetto::EventContext ctx) {
348 TRACE_EVENT("category", "Name", time_in_nanoseconds,
362 TRACE_EVENT("category", "Name", "arg", value);
363 TRACE_EVENT("category", "Name", "arg", value, "arg2", value2);
364 TRACE_EVENT("category", "Name", "arg", value, "arg2", value2,
373 TRACE_EVENT("category", "Name",
380 TRACE_EVENT("category", "Name",
388 TRACE_EVENT("category", "Name", "arg", value1,
398 TRACE_EVENT("category", "Name", perfetto::Track(1234));
406 TRACE_EVENT("category", "Name", perfetto::Track(1234),
415 TRACE_EVENT("category", "Name", perfetto::Track(1234),
422 TRACE_EVENT("category", "Name", perfetto::Track(1234),
431 TRACE_EVENT("category", "Name", perfetto::Track(1234),
433 TRACE_EVENT("category", "Name", perfetto::Track(1234),
435 TRACE_EVENT("category", "Name", perfetto::Track(1234),
471 By default, track events (e.g., `TRACE_EVENT`) use the `ThreadTrack` for the
564 most strings passed to `TRACE_EVENT`, but it's also possible to also define
594 TRACE_EVENT(