Home
last modified time | relevance | path

Searched refs:ParsePerfJson (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/perf/pmu-events/
H A Dmetric_test.py7 from metric import ParsePerfJson
45 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
51 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
57 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
62 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after)
82 self.assertEqual(ParsePerfJson(before).ToPython(), after)
87 self.assertEqual(ParsePerfJson(before).ToPython(), after)
101 py = ParsePerfJson(before).ToPython()
161 before = [('cpu', 'm1', ParsePerfJson('a + b + c + d')),
162 ('cpu', 'm2', ParsePerfJson('a + b + c'))]
[all …]
H A Dmetric.py531 def ParsePerfJson(orig: str) -> Expression: function
H A Djevents.py329 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify()