1packet {
2  system_info {
3    # No android_build_fingerprint to test the metric without the CPU core to
4    # cluster mapping.
5    hz: 100
6  }
7}
8packet {
9  timestamp: 1
10  process_tree {
11    processes {
12      pid: 5
13      ppid: 1
14      cmdline: "com.google.pid5"
15    }
16    threads {
17      tid: 5
18      tgid: 5
19    }
20    threads {
21      tid: 7
22      tgid: 5
23      name: "tid7"
24    }
25  }
26}
27packet {
28  timestamp: 2
29  process_stats {
30    processes {
31      pid: 5
32      threads {
33        tid: 5
34        cpu_freq_indices: 1
35        cpu_freq_ticks: 1
36        cpu_freq_indices: 2
37        cpu_freq_ticks: 1
38      }
39    }
40  }
41}
42packet {
43  timestamp: 3
44  process_stats {
45    processes {
46      pid: 5
47      threads {
48        tid: 5
49        cpu_freq_indices: 1
50        cpu_freq_ticks: 2
51        cpu_freq_indices: 2
52        cpu_freq_ticks: 1
53      }
54      threads {
55        tid: 7
56        cpu_freq_indices: 5
57        cpu_freq_ticks: 1
58      }
59    }
60  }
61}
62packet {
63  timestamp: 4
64  process_stats {
65    processes {
66      pid: 5
67      threads {
68        tid: 5
69        # cpu_freq_indices: 1 was skipped because it did not change.
70        cpu_freq_indices: 2
71        cpu_freq_ticks: 2
72      }
73    }
74  }
75}
76packet {
77  timestamp: 1
78  cpu_info {
79    cpus {
80      frequencies: 100000
81      frequencies: 200000
82    }
83    cpus {
84      frequencies: 100000
85      frequencies: 200000
86    }
87    cpus {
88      frequencies: 1000000
89      frequencies: 2000000
90    }
91    cpus {
92      frequencies: 1000000
93      frequencies: 2000000
94    }
95  }
96}
97