Home | History | Annotate | Download | only in bench

Lines Matching full:matrix

131   """For the given tile layout and per-tile bench values, returns a matrix of
141 Returns [sum, matrix] where sum is the total bench tile time that covers the
142 viewport, and matrix is used for visualizing the tiles.
152 matrix = [[0 for y in range(tile_cols)] for x in range(truncated_tile_rows)]
155 matrix[x][y] = values[x * tile_cols + y]
158 return [viewport_tile_sum, matrix]
160 def GetTileVisCodes(suffix, matrix):
162 visualizing the benches from the given tile config and matrix data.
167 for i in range(len(matrix[0])):
169 this_js += 'data_%s.addRows(%s);' % (suffix, str(matrix))
236 [viewport_tile_sum, matrix] = GetTileMatrix(
239 [this_js, row1, row2] = GetTileVisCodes(config + '_' + bench, matrix)