Home
last modified time | relevance | path

Searched refs:num_chunks (Results 1 – 25 of 35) sorted by relevance

12

/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc51 size_t num_chunks = SharedMemoryABI::kNumChunksForLayout[i]; in InitChunkSizes() local
52 size_t size = num_chunks == 0 ? 0 : GetChunkSize(page_size, num_chunks); in InitChunkSizes()
134 const size_t num_chunks = GetNumChunksForLayout(page_layout); in GetChunkUnchecked() local
135 PERFETTO_DCHECK(chunk_idx < num_chunks); in GetChunkUnchecked()
156 const size_t num_chunks = GetNumChunksForLayout(layout); in TryAcquireChunk() local
159 if (chunk_idx >= num_chunks) in TryAcquireChunk()
209 const uint32_t num_chunks = GetNumChunksForLayout(layout); in GetFreeChunks() local
211 for (uint32_t i = 0; i < num_chunks; i++) { in GetFreeChunks()
276 const uint32_t num_chunks = GetNumChunksForLayout(layout); in TryAcquireAllChunksForReading() local
277 if (num_chunks == 0) in TryAcquireAllChunksForReading()
[all …]
Dshared_memory_abi_unittest.cc83 const size_t num_chunks = in TEST_P() local
87 for (size_t chunk_idx = 0; chunk_idx < num_chunks; chunk_idx++) { in TEST_P()
111 (page_size() - sizeof(SharedMemoryABI::PageHeader)) / num_chunks; in TEST_P()
150 for (size_t chunk_idx = 0; chunk_idx < num_chunks; chunk_idx++) { in TEST_P()
155 ASSERT_EQ(chunk_idx == num_chunks - 1, abi.is_page_complete(page_idx)); in TEST_P()
161 for (size_t chunk_idx = 0; chunk_idx < num_chunks; chunk_idx++) { in TEST_P()
170 for (size_t chunk_idx = 0; chunk_idx < num_chunks; chunk_idx++) { in TEST_P()
177 ASSERT_EQ(chunk_idx == num_chunks - 1, abi.is_page_free(page_idx)); in TEST_P()
Dtrace_writer_impl_unittest.cc93 size_t num_chunks = SharedMemoryABI::GetNumChunksForLayout(page_layout); in TEST_P() local
94 for (size_t chunk_idx = 0; chunk_idx < num_chunks; chunk_idx++) { in TEST_P()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dvoice_activity_detector_unittest.cc72 size_t num_chunks = 0; in TEST() local
79 ++num_chunks; in TEST()
82 mean_probability /= num_chunks; in TEST()
107 size_t num_chunks = 0; in TEST() local
114 ++num_chunks; in TEST()
117 mean_probability /= num_chunks; in TEST()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudioproc_float.cc145 int num_chunks = 0; in main() local
147 trace_to_stderr.SetTimeSeconds(num_chunks * 1.f / kChunksPerSecond); in main()
148 ++num_chunks; in main()
157 exec_time_us * 1e-6, num_chunks * 1.f / kChunksPerSecond, in main()
158 exec_time_us * 1.f / num_chunks, 1.f * proc_time.max.Microseconds(), in main()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc59 const uint64 wall_time_us, const size_t num_chunks, in PrepareChunkEventProto() argument
81 metadata.set_num_chunks(num_chunks); in PrepareChunkEventProto()
153 const size_t num_chunks = cutoffs.size(); in WrapStringTensorAsEvents() local
155 for (size_t i = 0; i < num_chunks; ++i) { in WrapStringTensorAsEvents()
157 num_chunks, i, tensor_proto->dtype(), in WrapStringTensorAsEvents()
202 const size_t num_chunks = in WrapTensorAsEvents() local
206 for (size_t i = 0; i < num_chunks; ++i) { in WrapTensorAsEvents()
209 (i == num_chunks - 1) ? (total_length - pos) : chunk_size_ub; in WrapTensorAsEvents()
211 num_chunks, i, tensor_proto.dtype(), in WrapTensorAsEvents()
250 const size_t num_chunks = in PublishEncodedGraphDefInChunks() local
[all …]
Ddebugger_event_metadata.proto9 int32 num_chunks = 3; field
/external/autotest/client/tests/ebizzy/
Debizzy.py23 def run_once(self, args='', num_chunks=1000, chunk_size=512000, argument
29 args2 = '-m -n %s -P -R -s %s -S %s -t %s' % (num_chunks, chunk_size,
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_debug_server.py252 num_chunks = debugger_plugin_metadata["numChunks"]
255 if num_chunks <= 1:
263 tensor_chunks[tensor_key] = [None] * num_chunks
307 num_chunks = int(event.graph_def[index_bar_1 + 1 : index_bar_2])
309 graph_def_chunks[graph_def_hash_device_timestamp] = [None] * num_chunks
/external/mesa3d/src/intel/vulkan/tests/
Dstate_pool_test_helper.h39 const unsigned num_chunks = STATES_PER_THREAD / chunk_size; in alloc_states() local
45 for (unsigned c = 0; c < num_chunks; c++) { in alloc_states()
/external/tensorflow/tensorflow/contrib/all_reduce/python/
Dall_reduce.py325 num_chunks = num_devices * num_subchunks
332 splits, split_pad_len = _padded_split(input_tensors[d], num_chunks)
337 new_partial_reductions = [None for _ in range(0, num_chunks)]
395 num_chunks = len(chunks_by_dev[0])
396 if 0 != num_chunks % num_devices:
399 num_subchunks = int(num_chunks / num_devices)
402 passed_values = [None for _ in range(0, num_chunks)]
Dall_reduce_test.py112 num_chunks = 2 * len(input_tensors)
115 self.assertEqual(len(otl), num_chunks)
117 self.assertEqual(ot.shape, [tlen/num_chunks])
/external/pdfium/third_party/libpng16/
Dpngset.c1327 unsigned int num_chunks, old_num_chunks; in png_set_keep_unknown_chunks() local
1374 num_chunks = (unsigned int)/*SAFE*/(sizeof chunks_to_ignore)/5U; in png_set_keep_unknown_chunks()
1389 num_chunks = num_chunks_in; in png_set_keep_unknown_chunks()
1398 if (num_chunks + old_num_chunks > UINT_MAX/5) in png_set_keep_unknown_chunks()
1412 5 * (num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks()
1435 for (i=0; i<num_chunks; ++i) in png_set_keep_unknown_chunks()
1442 num_chunks = 0; in png_set_keep_unknown_chunks()
1450 ++num_chunks; in png_set_keep_unknown_chunks()
1455 if (num_chunks == 0) in png_set_keep_unknown_chunks()
1465 num_chunks = 0; in png_set_keep_unknown_chunks()
[all …]
/external/libpng/
Dpngset.c1376 unsigned int num_chunks, old_num_chunks; in png_set_keep_unknown_chunks() local
1424 num_chunks = (unsigned int)/*SAFE*/(sizeof chunks_to_ignore)/5U; in png_set_keep_unknown_chunks()
1439 num_chunks = (unsigned int)num_chunks_in; in png_set_keep_unknown_chunks()
1448 if (num_chunks + old_num_chunks > UINT_MAX/5) in png_set_keep_unknown_chunks()
1462 5 * (num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks()
1485 for (i=0; i<num_chunks; ++i) in png_set_keep_unknown_chunks()
1492 num_chunks = 0; in png_set_keep_unknown_chunks()
1500 ++num_chunks; in png_set_keep_unknown_chunks()
1505 if (num_chunks == 0) in png_set_keep_unknown_chunks()
1515 num_chunks = 0; in png_set_keep_unknown_chunks()
[all …]
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c638 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
647 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
653 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
661 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
665 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
669 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
673 cs->cst->cs.num_chunks = 3; in radeon_drm_cs_flush()
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h444 const uint32_t num_chunks = GetNumChunksForLayout(layout); in is_page_complete() local
445 if (num_chunks == 0) in is_page_complete()
448 (kAllChunksComplete & ((1 << (num_chunks * kChunkShift)) - 1)); in is_page_complete()
/external/bsdiff/
Dsplit_patch_writer_unittest.cc19 void SetUpForSize(size_t num_chunks, in SetUpForSize() argument
22 fake_patches_.resize(num_chunks); in SetUpForSize()
/external/libdrm/amdgpu/
Damdgpu_cs.c213 cs.in.num_chunks = ibs_request->number_of_ibs; in amdgpu_cs_submit_one()
236 i = cs.in.num_chunks++; in amdgpu_cs_submit_one()
269 i = cs.in.num_chunks++; in amdgpu_cs_submit_one()
302 i = cs.in.num_chunks++; in amdgpu_cs_submit_one()
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc2589 size_t num_chunks = capacity / TraceBufferChunk::kTraceBufferChunkSize; in TEST_F() local
2595 new TraceBufferChunk*[num_chunks]); in TEST_F()
2596 for (size_t i = 0; i < num_chunks; ++i) { in TEST_F()
2610 for (size_t i = 0; i < num_chunks; ++i) in TEST_F()
2614 for (size_t i = 0; i < num_chunks; ++i) { in TEST_F()
2623 for (size_t i = 0; i < num_chunks; ++i) { in TEST_F()
2624 buffer->ReturnChunk(num_chunks - i - 1, std::unique_ptr<TraceBufferChunk>( in TEST_F()
2625 chunks[num_chunks - i - 1])); in TEST_F()
2629 for (size_t i = 0; i < num_chunks; ++i) { in TEST_F()
2632 EXPECT_EQ(num_chunks - i - 1, chunk_index); in TEST_F()
[all …]
/external/syslinux/com32/lib/libpng/
Dpngset.c1071 chunk_list, int num_chunks) in png_set_keep_unknown_chunks() argument
1077 if (num_chunks == 0) in png_set_keep_unknown_chunks()
1095 (5*(num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks()
1104 (png_size_t)(5*num_chunks)); in png_set_keep_unknown_chunks()
1105 for (p = new_list + 5*old_num_chunks + 4, i = 0; i<num_chunks; i++, p += 5) in png_set_keep_unknown_chunks()
1107 png_ptr->num_chunk_list = old_num_chunks + num_chunks; in png_set_keep_unknown_chunks()
/external/webp/include/webp/
Ddemux.h189 int num_chunks; member
/external/webp/src/webp/
Ddemux.h189 int num_chunks; member
/external/libdrm/include/drm/
Damdgpu_drm.h373 uint32_t num_chunks; member
/external/kernel-headers/original/uapi/drm/
Damdgpu_drm.h489 __u32 num_chunks; member
/external/libdrm/radeon/
Dradeon_cs_gem.c445 csg->cs.num_chunks = 2; in cs_gem_emit()

12