File: latency_info.dot

package info (click to toggle)
chromium 138.0.7204.183-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,908 kB
  • sloc: cpp: 34,937,088; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (63 lines) | stat: -rw-r--r-- 1,765 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// dot -Tpdf ui/latency/latency_info.dot > latency_info.pdf

digraph LatencyInfo {
  node[shape=box];

  // Set shape and label of metric names.
  {
    node[style="dotted,rounded"];

    scroll_to_schedule_metrics
      [label="\
UKM: Event.<scroll_name>.<input_modality>.TimeToHandled\n"];
    scroll_to_gpu_swap_metrics
      [label="\
UKM: Event.<scroll_name>.<input_modality>.TimeToScrollUpdateSwapBegin\n"]
  }

  // Set labels for nodes with multiple components.
  scroll_original
    [label="\
INPUT_EVENT_LATENCY_FIRST_SCROLL_UPDATE_ORIGINAL_COMPONENT\n\
INPUT_EVENT_LATENCY_SCROLL_UPDATE_ORIGINAL_COMPONENT"];
  rendering_scheduled
    [label="\
INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_MAIN_COMPONENT\n\
INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_IMPL_COMPONENT"];

  // Layout "original" components at the top.
  {
    rank=same;
    edge[style=dotted,minlen=4];
    INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT->
    scroll_original;
  }

  // Layout the rest of the components.
  INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT->
  end_to_end_metrics->
  INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT;

  scroll_original->
  scroll_to_schedule_metrics->
  rendering_scheduled->
  INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT->
  INPUT_EVENT_LATENCY_FRAME_SWAP_COMPONENT
    [weight=4];

  scroll_original->
  scroll_to_gpu_swap_metrics->
  INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT;

  // Add legend and position it under INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT.
  legend
    [shape=plaintext,label="\
LEGEND:\l\
  <default_action_status> = (DefaultPrevented | DefaultAllowed)\l\
  <input_modality> = (Wheel | Touch)\l\
  <scroll_name> = (ScrollBegin | ScrollUpdate)\l\
  <thread_name> = (Main | Impl)\l"];
  INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT->
  legend
    [style=invis,minlen=10];
}