Home
last modified time | relevance | path

Searched refs:max_chunks (Results 1 – 7 of 7) sorted by relevance

/external/cronet/base/trace_event/
Dtrace_buffer.cc22 TraceBufferRingBuffer(size_t max_chunks) in TraceBufferRingBuffer() argument
23 : max_chunks_(max_chunks), in TraceBufferRingBuffer()
26 queue_tail_(max_chunks), in TraceBufferRingBuffer()
29 chunks_.reserve(max_chunks); in TraceBufferRingBuffer()
30 for (size_t i = 0; i < max_chunks; ++i) in TraceBufferRingBuffer()
157 TraceBufferVector(size_t max_chunks) in TraceBufferVector() argument
160 max_chunks_(max_chunks) { in TraceBufferVector()
339 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer(size_t max_chunks) { in CreateTraceBufferRingBuffer() argument
340 return new TraceBufferRingBuffer(max_chunks); in CreateTraceBufferRingBuffer()
343 TraceBuffer* TraceBuffer::CreateTraceBufferVectorOfSize(size_t max_chunks) { in CreateTraceBufferVectorOfSize() argument
[all …]
Dtrace_buffer.h81 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks);
82 static TraceBuffer* CreateTraceBufferVectorOfSize(size_t max_chunks);
/external/libchrome/base/trace_event/
Dtrace_buffer.cc22 TraceBufferRingBuffer(size_t max_chunks) in TraceBufferRingBuffer() argument
23 : max_chunks_(max_chunks), in TraceBufferRingBuffer()
26 queue_tail_(max_chunks), in TraceBufferRingBuffer()
29 chunks_.reserve(max_chunks); in TraceBufferRingBuffer()
30 for (size_t i = 0; i < max_chunks; ++i) in TraceBufferRingBuffer()
156 TraceBufferVector(size_t max_chunks) in TraceBufferVector() argument
159 max_chunks_(max_chunks) { in TraceBufferVector()
338 TraceBuffer* TraceBuffer::CreateTraceBufferRingBuffer(size_t max_chunks) { in CreateTraceBufferRingBuffer() argument
339 return new TraceBufferRingBuffer(max_chunks); in CreateTraceBufferRingBuffer()
342 TraceBuffer* TraceBuffer::CreateTraceBufferVectorOfSize(size_t max_chunks) { in CreateTraceBufferVectorOfSize() argument
[all …]
Dtrace_buffer.h80 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks);
81 static TraceBuffer* CreateTraceBufferVectorOfSize(size_t max_chunks);
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h49 uint32_t max_chunks; member
Damdgpu_bo.c878 best_backing->max_chunks = 4; in sparse_backing_alloc()
879 best_backing->chunks = CALLOC(best_backing->max_chunks, in sparse_backing_alloc()
986 if (backing->num_chunks >= backing->max_chunks) { in sparse_backing_free()
987 unsigned new_max_chunks = 2 * backing->max_chunks; in sparse_backing_free()
990 sizeof(*backing->chunks) * backing->max_chunks, in sparse_backing_free()
995 backing->max_chunks = new_max_chunks; in sparse_backing_free()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtensor_utils_test.cc1089 int max_chunks = cols / 16; in SetupMatrixVectorData() local
1090 int selected_chunks = (max_chunks / 2); in SetupMatrixVectorData()
1092 bool max_chunks_is_odd = (max_chunks % 2) > 0; in SetupMatrixVectorData()
1101 for (int j = 0; j < max_chunks; j++) { in SetupMatrixVectorData()