/third_party/python/Lib/test/ |
H A D | test_statistics.py | 1 """Test suite for statistics module, including helper NumericTestCase and 26 import statistics namespace 183 py_statistics = import_helper.import_fresh_module('statistics', 185 c_statistics = import_helper.import_fresh_module('statistics', 194 self.assertEqual(getattr(py_statistics, fname).__module__, 'statistics') 669 # === Tests for the statistics module === 674 module = statistics 699 failed, tried = doctest.testmod(statistics, optionflags=doctest.ELLIPSIS) 709 self.assertTrue(hasattr(statistics, 'StatisticsError')) 711 issubclass(statistics [all...] |
H A D | test_tracemalloc.py | 497 stats1 = snapshot.statistics('lineno') 506 stats2 = snapshot2.statistics('lineno') 514 statistics = snapshot2.compare_to(snapshot, 'lineno') 515 self.assertEqual(statistics, [ 531 stats1 = snapshot.statistics('filename') 539 stats2 = snapshot2.statistics('filename') 562 stats1 = snapshot.statistics('traceback') 572 stats2 = snapshot2.statistics('traceback') 590 snapshot.statistics, 'traceback', cumulative=True) 603 stats = snapshot.statistics('filenam [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineExecutablePropertiesTests.cpp | 37 * statistics is returned regardless of whether or not a pipeline cache 41 * statistics is returned regardless of whether or not 298 std::vector<VkPipelineExecutableStatisticKHR> statistics[PIPELINE_CACHE_NDX_COUNT]; in verifyStatistics() local 318 statistics[ndx].resize(statisticCount); in verifyStatistics() 321 deMemset(&statistics[ndx][statNdx], 0, sizeof(statistics[ndx][statNdx])); in verifyStatistics() 322 statistics[ndx][statNdx].sType = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR; in verifyStatistics() 323 statistics[ndx][statNdx].pNext = DE_NULL; in verifyStatistics() 325 VK_CHECK(vk.getPipelineExecutableStatisticsKHR(vkDevice, &pipelineExecutableInfo, &statisticCount, &statistics[ndx][0])); in verifyStatistics() 329 if (!checkString(statistics[nd in verifyStatistics() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineExecutablePropertiesTests.cpp | 35 * statistics is returned regardless of whether or not a pipeline cache 39 * statistics is returned regardless of whether or not 199 result += "Get pipeline executable statistics"; in generateTestDescription() 324 std::vector<VkPipelineExecutableStatisticKHR> statistics[PIPELINE_CACHE_NDX_COUNT]; in verifyStatistics() local 344 statistics[ndx].resize(statisticCount); in verifyStatistics() 347 deMemset(&statistics[ndx][statNdx], 0, sizeof(statistics[ndx][statNdx])); in verifyStatistics() 348 statistics[ndx][statNdx].sType = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR; in verifyStatistics() 349 statistics[ndx][statNdx].pNext = DE_NULL; in verifyStatistics() 351 VK_CHECK(vk.getPipelineExecutableStatisticsKHR(vkDevice, &pipelineExecutableInfo, &statisticCount, &statistics[nd in verifyStatistics() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cordz_info_test.cc | 294 CordzStatistics statistics = info->GetCordzStatistics(); in TEST() local 295 EXPECT_THAT(statistics.size, Eq(data.rep.rep->length)); in TEST() 296 EXPECT_THAT(statistics.method, Eq(kTrackCordMethod)); in TEST() 297 EXPECT_THAT(statistics.parent_method, Eq(kUnknownMethod)); in TEST() 298 EXPECT_THAT(statistics.update_tracker.Value(kTrackCordMethod), Eq(1)); in TEST() 312 CordzStatistics statistics = info->GetCordzStatistics(); in TEST() local 313 EXPECT_THAT(statistics.update_tracker.Value(kUpdateMethod), Eq(2)); in TEST() 328 CordzStatistics statistics = info_child->GetCordzStatistics(); in TEST() local 329 EXPECT_THAT(statistics.size, Eq(child.rep.rep->length)); in TEST() 330 EXPECT_THAT(statistics in TEST() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | read-only-heap.cc | 203 SharedMemoryStatistics* statistics) { in PopulateReadOnlySpaceStatistics() 204 statistics->read_only_space_size_ = 0; in PopulateReadOnlySpaceStatistics() 205 statistics->read_only_space_used_size_ = 0; in PopulateReadOnlySpaceStatistics() 206 statistics->read_only_space_physical_size_ = 0; in PopulateReadOnlySpaceStatistics() 212 statistics->read_only_space_size_ = ro_space->CommittedMemory(); in PopulateReadOnlySpaceStatistics() 213 statistics->read_only_space_used_size_ = ro_space->Size(); in PopulateReadOnlySpaceStatistics() 214 statistics->read_only_space_physical_size_ = in PopulateReadOnlySpaceStatistics() 202 PopulateReadOnlySpaceStatistics( SharedMemoryStatistics* statistics) PopulateReadOnlySpaceStatistics() argument
|
/third_party/node/test/common/ |
H A D | v8.js | 19 assert.ok(Array.isArray(data.statistics)); 21 if (data.statistics.length) { 23 const item = data.statistics[0];
|
/third_party/python/Lib/ |
H A D | tracemalloc.py | 121 statistics = [] 132 statistics.append(stat) 136 statistics.append(stat) 137 return statistics 507 # cumulative statistics 528 def statistics(self, key_type, cumulative=False): member in Snapshot 530 Group statistics by key_type. Return a sorted list of Statistic 534 statistics = list(grouped.values()) 535 statistics.sort(reverse=True, key=Statistic._sort_key) 536 return statistics [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_statistics.cpp | 43 program->statistics[statistic_sgpr_presched] = presched_demand.sgpr; in collect_presched_stats() 44 program->statistics[statistic_vgpr_presched] = presched_demand.vgpr; in collect_presched_stats() 441 program->statistics[statistic_instructions] += block.instructions.size(); in collect_preasm_stats() 445 program->statistics[statistic_branches]++; in collect_preasm_stats() 448 program->statistics[statistic_instructions] += 2; in collect_preasm_stats() 455 program->statistics[statistic_vmem_clauses]++; in collect_preasm_stats() 465 program->statistics[statistic_smem_clauses]++; in collect_preasm_stats() 548 program->statistics[statistic_latency] = round(latency); in collect_preasm_stats() 549 program->statistics[statistic_inv_throughput] = round(1.0 / wave64_per_cycle); in collect_preasm_stats() 574 program->statistics[ac in collect_postasm_stats() [all...] |
H A D | aco_interface.cpp | 228 memset(program->statistics, 0, sizeof(program->statistics)); in aco_compile_shader() 268 program->statistics, in aco_compile_shader() 336 memset(program->statistics, 0, sizeof(program->statistics)); in aco_compile_ps_epilog()
|
H A D | aco_interface.h | 55 uint32_t *statistics,
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | genX_query.c | 518 uint32_t statistics = pool->pipeline_statistics; in GetQueryPoolResults() local 519 while (statistics) { in GetQueryPoolResults() 520 uint32_t stat = u_bit_scan(&statistics); in GetQueryPoolResults() 951 uint32_t statistics = pool->pipeline_statistics; in CmdBeginQueryIndexedEXT() local 953 while (statistics) { in CmdBeginQueryIndexedEXT() 954 uint32_t stat = u_bit_scan(&statistics); in CmdBeginQueryIndexedEXT() 1144 uint32_t statistics = pool->pipeline_statistics; in CmdEndQueryIndexedEXT() local 1146 while (statistics) { in CmdEndQueryIndexedEXT() 1147 uint32_t stat = u_bit_scan(&statistics); in CmdEndQueryIndexedEXT() 1466 uint32_t statistics in CmdCopyQueryPoolResults() local [all...] |
/third_party/node/deps/v8/tools/ |
H A D | generate-runtime-call-stats.py | 18 import statistics namespace 289 self.mean_duration = statistics.mean(self.durations) 290 self.mean_count = statistics.mean(self.counts) 292 self.stdev_duration = statistics.stdev(self.durations) 293 self.stdev_count = statistics.stdev(self.counts)
|
H A D | callstats.py | 13 stats process logs and print statistics 326 # Calculate statistics. 328 def statistics(data): function 489 partial['time_stat'] = statistics(partial['time_list']) 490 partial['count_stat'] = statistics(partial['count_list']) 520 statistics(domain_stats[key]['time_list']) 522 statistics(domain_stats[key]['count_list']) 611 s = statistics(entries[name][x]) 666 help="do not include url in statistics file")
|
/third_party/mbedtls/scripts/ |
H A D | lcov.sh | 6 Collect coverage statistics of library code into an HTML report. 19 object files and coverage statistics files.
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | mhd2spdy.c | 52 if(!glob_opt.statistics) in print_stat() 248 " -s, --statistics Print simple statistics on exit.\n\n" in display_usage() 265 {"statistics", no_argument, 0, 's'}, in main() 296 glob_opt.statistics = true; in main()
|
H A D | mhd2spdy_structures.h | 163 bool statistics; member 259 if(glob_opt.statistics)\
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Statistic.cpp | 10 // way to expose various success metrics from passes. These statistics are 43 cl::desc("Enable statistics output from program (available with Asserts)"), 47 cl::desc("Display statistics as json data"), 56 /// called. We print statistics from the destructor. 66 /// Sort statistics by debugtype,name,description. 78 iterator_range<const_iterator> statistics() const { in statistics() function in __anon24333::StatisticInfo 184 // Print out the statistics header... in PrintStatistics() 189 // Print all of the statistics. in PrintStatistics() 206 // Print all of the statistics. in PrintStatisticsJSON() 258 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pt_fetch_shade_pipeline.c | 255 draw->statistics.ia_vertices += prim_info->count; in fetch_pipeline_generic() 256 draw->statistics.ia_primitives += in fetch_pipeline_generic() 258 draw->statistics.vs_invocations += fetch_info->count; in fetch_pipeline_generic()
|
H A D | draw_pt_fetch_shade_pipeline_llvm.c | 603 draw->statistics.ia_vertices += prim_info->count; in llvm_pipeline_generic() 605 draw->statistics.ia_primitives += prim_info->count / draw->pt.vertices_per_patch; in llvm_pipeline_generic() 607 draw->statistics.ia_primitives += in llvm_pipeline_generic() 609 draw->statistics.vs_invocations += fetch_info->count; in llvm_pipeline_generic()
|
H A D | draw_pt.c | 599 memset(&draw->statistics, 0, sizeof(draw->statistics)); in draw_vbo() 619 /* If requested emit the pipeline statistics for this run */ in draw_vbo() 621 draw->render->pipeline_statistics(draw->render, &draw->statistics); in draw_vbo()
|
/third_party/benchmark/src/ |
H A D | benchmark_api_internal.h | 36 const std::vector<Statistics>& statistics() const { return statistics_; } in statistics() function in benchmark::internal::BenchmarkInstance
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-initialization.h | 263 * Get statistics about the shared memory usage. 265 static void GetSharedMemoryStatistics(SharedMemoryStatistics* statistics);
|
/third_party/node/deps/v8/include/ |
H A D | v8-initialization.h | 288 * Get statistics about the shared memory usage. 290 static void GetSharedMemoryStatistics(SharedMemoryStatistics* statistics);
|
/third_party/ffmpeg/libavformat/ |
H A D | rtpdec.c | 318 RTPStatistics *stats = &s->statistics; in ff_rtp_check_and_send_back_rr() 592 rtp_init_statistics(&s->statistics, 0); in ff_rtp_parse_open() 724 if (!rtp_valid_packet_in_sequence(&s->statistics, seq)) { in rtp_parse_packet_internal() 900 rtcp_update_jitter(&s->statistics, timestamp, arrival_ts); in rtp_parse_one_packet()
|