Searched defs:cycles (Results 1 - 25 of 46) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcycles_test.c13 * Basic test that counts user cycles and takes EBBs.
15 int cycles(void) function
21 event_init_named(&event, 0x1001e, "cycles");
59 return test_harness(cycles, "cycles");
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DLeftRecursionCyclesMessage.java35 * cycles found by walking rules without decisions; the other msg is
39 public Collection cycles; field in class:LeftRecursionCyclesMessage
41 public LeftRecursionCyclesMessage(Collection cycles) { argument
43 this.cycles = cycles;
48 st.add("listOfCycles", cycles);
/external/swiftshader/src/Renderer/
H A DQuadRasterizer.hpp44 Long cycles[PERF_TIMERS]; member in class:sw::QuadRasterizer
/external/autotest/client/profilers/cpistat/
H A Dcpistat77 cycles = sum['PERF_COUNT_HW_CPU_CYCLES'] variable
79 CPI = cycles * 1.0/instructions
80 print ('cycles: %12lu, instructions: %12lu, CPI: %2.4f'
81 % (cycles, instructions, CPI))
/external/nos/test/system-test-harness/tools/
H A Dnugget_tools.cc65 bool CyclesSinceBoot(nos::NuggetClientInterface *client, uint32_t *cycles) { argument
78 *cycles = le32toh(*reinterpret_cast<uint32_t *>(buffer.data()));
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhuman_readable_profile_builder.h47 tensorflow::StringPiece category, int64 cycles, int64 flop_count,
51 {op_name.ToString(), short_name.ToString(), category.ToString(), cycles,
63 int64 cycles; member in struct:xla::HumanReadableProfileBuilder::OpInfo
70 double CyclesToSeconds(int64 cycles) const {
71 return cycles / clock_rate_ghz_ / 1e9;
73 double CyclesToMicroseconds(int64 cycles) const {
74 return cycles / clock_rate_ghz_ / 1000.0;
45 AddOp(tensorflow::StringPiece op_name, tensorflow::StringPiece short_name, tensorflow::StringPiece category, int64 cycles, int64 flop_count, int64 transcendental_count, int64 bytes_accessed, float optimal_seconds) argument
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
H A Drtp_analyze.cc106 int cycles = -1; local
132 if (cycles == -1) {
135 cycles = 0;
148 cycles++;
157 64.0 * cycles;
H A Dneteq_quality_test.cc354 int cycles = block_duration_ms_ / kPacketLossTimeUnitMs; local
359 for (int idx = 0; idx < cycles; idx ++) {
/external/mesa3d/src/mesa/math/
H A Dm_debug_xform.c48 /* Overhead of profiling counter in cycles. Automatically adjusted to
169 int mtype, unsigned long *cycles )
179 (void) cycles;
246 BEGIN_RACE( *cycles );
248 END_RACE( *cycles );
295 printf("counter overhead: %lu cycles\n\n", counter_overhead );
314 unsigned long *cycles = &(benchmark_tab[psize-1][mtype]); local
316 if ( test_transform_function( func, psize, mtype, cycles ) == 0 ) {
H A Dm_debug_clip.c230 int psize, long *cycles )
241 (void) cycles;
282 BEGIN_RACE( *cycles );
284 END_RACE( *cycles );
365 printf( "counter overhead: %ld cycles\n\n", counter_overhead );
384 long *cycles = &(benchmark_tab[np][psize-1]); local
386 if ( test_cliptest_function( func, np, psize, cycles ) == 0 ) {
H A Dm_debug_norm.c197 static int test_norm_function( normal_func func, int mtype, long *cycles )
210 (void) cycles;
286 BEGIN_RACE( *cycles );
288 END_RACE( *cycles );
350 printf( "counter overhead: %ld cycles\n\n", counter_overhead );
360 long *cycles = &benchmark_tab[mtype]; local
362 if ( test_norm_function( func, mtype, cycles ) == 0 ) {
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c66 double cycles,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
164 int64_t cycles[LP_TEST_NUM_SAMPLES]; local
250 cycles[i] = end_counter - start_counter;
303 sum += cycles[i];
304 sum2 += cycles[i]*cycles[i];
313 if(fabs(cycles[i] - avg) <= 4.0*std) {
314 sum += cycles[i];
63 write_tsv_row(FILE *fp, struct lp_type src_type, struct lp_type dst_type, double cycles, boolean success) argument
H A Dlp_test_blend.c77 double cycles,
82 fprintf(fp, "%.1f\t", cycles / type.length);
446 int64_t cycles[LP_TEST_NUM_SAMPLES]; local
507 cycles[i] = end_counter - start_counter;
560 sum += cycles[i];
561 sum2 += cycles[i]*cycles[i];
570 if(fabs(cycles[i] - avg) <= 4.0*std) {
571 sum += cycles[i];
74 write_tsv_row(FILE *fp, const struct pipe_blend_state *blend, struct lp_type type, double cycles, boolean success) argument
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qpu_emit.c621 uint32_t cycles = qpu_schedule_instructions(c); local
673 cycles += c->qpu_inst_count - inst_count_at_schedule_time;
676 fprintf(stderr, "SHADER-DB: %s prog %d/%d: %d estimated cycles\n",
679 cycles);
H A Dvc4_qpu_schedule.c53 /* Longest cycles + instruction_latency() of any parent of this node. */
57 * Minimum number of cycles from scheduling this instruction until the
64 * cycles between this instruction being scheduled and when its result
1059 uint32_t cycles = schedule_instructions(c, scoreboard, block, local
1067 return cycles;
1144 uint32_t cycles = 0; local
1149 cycles += qpu_schedule_instructions_block(c,
1169 return cycles;
/external/nos/host/android/citadel/validation/
H A Dcitadel_validation_tool.cpp138 /* Have Nugget report the number of cycles it has been running for. */
139 bool CyclesSinceBoot(NuggetClientInterface & client, uint32_t* cycles) { argument
144 std::cerr << "Failed to get cycles since boot\n";
151 *cycles = le32toh(*reinterpret_cast<uint32_t *>(buffer.data()));
284 uint32_t cycles; local
285 if (!CyclesSinceBoot(client, &cycles)) {
286 std::cerr << "Citadel did not boot! No indication of cycles since boot\n";
289 const auto uptime = std::chrono::microseconds(cycles);
295 std::cerr << "Citadel appears to have not reset, cycles since boot is too high\n";
/external/swiftshader/src/Main/
H A DConfig.hpp58 double cycles[PERF_TIMERS]; member in struct:sw::Profiler
/external/zlib/src/examples/
H A Dgzappend.c126 unsigned cycles; local
153 /* otherwise do rotate as a set of cycles in place */
154 cycles = gcd(len, rot); /* number of cycles */
156 start = from = list + cycles; /* start index is arbitrary */
166 } while (--cycles);
/external/autotest/client/tests/signaltest/src/
H A Dsignaltest.c54 unsigned long cycles; member in struct:thread_stat
154 if (!par->id && !(stat->cycles & 0x0F))
185 stat->cycles++;
188 stat->values[stat->cycles & par->bufmsk] = diff;
190 if (par->max_cycles && par->max_cycles == stat->cycles)
300 stat->cycles, stat->min, stat->act,
301 stat->cycles ?
302 (long)(stat->avg/stat->cycles) : 0, stat->max);
305 while (stat->cycles != stat->cyclesread) {
398 if(max_cycles && stat[0].cycles >
[all...]
/external/tensorflow/tensorflow/compiler/jit/
H A Dmark_for_compilation_pass.cc249 string DescribeCycle(const GraphCycles& cycles, const Graph& graph, int src, argument
253 int32 path_size = cycles.FindPath(dst, src, max_path_size, path.data());
258 auto node_name = [&cycles, &graph](int node_id) {
381 GraphCycles cycles; local
385 CHECK_EQ(i, cycles.NewNode());
392 // The clustering code must avoid adding cycles to the graph to prevent
411 auto GetOrAddFrameNodeId = [&frame_nodes, &cycles](const string& frame_name) {
415 frame_id = cycles.NewNode();
426 if (!cycles.InsertEdge(edge->src()->id(), dst)) {
429 DescribeCycle(cycles, *grap
[all...]
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dxla_hlo_profile_test.cc42 int64 cycles; member in struct:xla::__anon25797::ParsedProfileOutputLine
83 string match_cycles = "(\\d+) cycles +\\( *(" + match_percentage + ")\\)";
104 line, regexp_pattern, &parsed_line.cycles, &parsed_line.cycles_percentage,
220 EXPECT_GT(total_profile.cycles, 0);
226 EXPECT_GT(total_profile.cycles, dot_profile.cycles);
233 EXPECT_GT(total_profile.cycles, tanh_profile.cycles);
243 // TODO(b/71544591): The GPU backend does not record cycles spent in on Hlo
317 EXPECT_GT(total_while_body_profile.cycles,
[all...]
/external/autotest/client/tests/cyclictest/src/
H A Dcyclictest.c73 unsigned long cycles; member in struct:thread_stat
331 stat->cycles++;
334 stat->values[stat->cycles & par->bufmsk] = diff;
340 if (par->max_cycles && par->max_cycles == stat->cycles)
506 stat->cycles, stat->min, stat->act,
507 stat->cycles ?
508 (long)(stat->avg/stat->cycles) : 0, stat->max);
511 while (stat->cycles != stat->cyclesread) {
597 if(max_cycles && stat[i].cycles >= max_cycles)
/external/dng_sdk/source/
H A Ddng_utils.cpp252 LARGE_INTEGER cycles; local
254 QueryPerformanceCounter (&cycles);
256 return (real64) cycles.QuadPart * freqMultiplier;
/external/fio/
H A Dgettime.c264 uint64_t minc, maxc, avg, cycles[NR_TIME_ITERS]; local
267 cycles[0] = get_cycles_per_usec();
270 cycles[i] = get_cycles_per_usec();
271 delta = cycles[i] - mean;
274 S += delta * (cycles[i] - mean);
282 if (!cycles[0] && !cycles[NR_TIME_ITERS - 1])
290 double this = cycles[i];
292 minc = min(cycles[i], minc);
293 maxc = max(cycles[
[all...]
/external/ltp/testcases/kernel/io/disktest/
H A Dmain.h140 #define CLD_FLG_CYC 0x0000000000400000ULL /* set if cycles are used */
214 unsigned long cycles; /* number of cycles */ member in struct:child_args

Completed in 720 milliseconds

12