Summary {{$key}}
Device State Summary:
ID |
Name |
Count / Hr |
Seconds / Hr |
Total Num |
Total Duration |
Max Duration |
{{range $id, $stat := $value.SystemStats}}
{{$id}} |
{{$stat.Name}} |
{{printf "%.2f" $stat.NumRate}} |
{{printf "%.2f" $stat.DurationRate}} |
{{$stat.Num}} |
{{$stat.TotalDuration}} |
{{$stat.MaxDuration}} |
{{end}}
{{range $brstat := $value.BreakdownStats}}
{{if $brstat.Stats }}
{{$brstat.Metric}}:
ID |
Name |
Count / Hr |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
Seconds / Hr |
{{end}}
Total Num |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
Total Duration |
Max Duration |
{{end}}
{{range $id, $stat := $brstat.Stats}}
{{$id}} |
{{$stat.Name}} |
{{printf "%.2f" $stat.NumRate}} |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
{{printf "%.2f" $stat.DurationRate}} |
{{end}}
{{$stat.Num}} |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
{{$stat.TotalDuration}} |
{{$stat.MaxDuration}} |
{{end}}
{{end}}
{{end}}
{{end}}
{{end}}
Summary {{$key}}
Device State Summary:
ID |
Name |
Count / Hr |
Seconds / Hr |
Total Num |
Total Duration |
Max Duration |
{{range $id, $stat := $value.SystemStats}}
{{$id}} |
{{$stat.Name}} |
{{printf "%.2f" $stat.NumRate}} |
{{printf "%.2f" $stat.DurationRate}} |
{{$stat.Num}} |
{{$stat.TotalDuration}} |
{{$stat.MaxDuration}} |
{{end}}
{{range $brstat := $value.BreakdownStats}}
{{if $brstat.Stats }}
{{$brstat.Metric}}:
ID |
Name |
Count / Hr |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
Seconds / Hr |
{{end}}
Total Num |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
Total Duration |
Max Duration |
{{end}}
{{range $id, $stat := $brstat.Stats}}
{{$id}} |
{{$stat.Name}} |
{{printf "%.2f" $stat.NumRate}} |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
{{printf "%.2f" $stat.DurationRate}} |
{{end}}
{{$stat.Num}} |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
{{$stat.TotalDuration}} |
{{$stat.MaxDuration}} |
{{end}}
{{end}}
{{end}}
{{end}}
{{end}}
{{end}}