Searched refs:total_time (Results 1 - 25 of 28) sorted by relevance

12

/external/curl/docs/examples/
H A Dfileupload.c36 double speed_upload, total_time; local
76 curl_easy_getinfo(curl, CURLINFO_TOTAL_TIME, &total_time);
79 speed_upload, total_time);
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_cpu.c53 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) argument
73 *total_time = filetime_to_scalar(ftNow) - filetime_to_scalar(ftCreation);
79 *total_time *= sysInfo.dwNumberOfProcessors;
90 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) argument
123 *total_time = *busy_time;
127 *total_time += v[i];
/external/webrtc/webrtc/base/
H A Dprofiler_unittest.cc47 EXPECT_NEAR(kWaitSec * 2, event->total_time(), kTolerance * 2);
48 EXPECT_DOUBLE_EQ(event->mean(), event->total_time() / event->event_count());
98 EXPECT_NEAR(kWaitSec * 2, event1->total_time(), kTolerance * 2);
100 event1->total_time() / event1->event_count());
H A Dprofiler.h96 double total_time() const { return total_time_; } function in class:rtc::ProfilerEvent
H A Dprofiler.cc184 << " total=" << FormattedTime(profiler_event.total_time())
/external/autotest/client/profilers/powertop/src/
H A Dcpufreqstats.c97 uint64_t total_time = 0; local
152 total_time += delta[ret].count;
159 if (!total_time)
169 sprintf(cpufreqstrings[ret+1], "%6s %5.1f%%\n", HzToHuman(delta[ret].frequency), delta[ret].count * 100.0 / total_time);
170 if (delta[ret].count > total_time/2)
/external/autotest/client/site_tests/power_HotCPUSuspend/
H A Dpower_HotCPUSuspend.py42 total_time = sum(diff_times[field] for field in PROC_STAT_CPU_FIELDS)
44 return float(total_time - idle_time) / total_time
/external/lisa/tools/analysis/
H A Druntime.py15 self.total_time = np.float64(0.0)
90 rp.total_time += runtime
91 if debug and dpid == prevpid: print 'adding to total time {}, new total {}'.format(runtime, rp.total_time)
135 result = sorted(runpids.items(), key=lambda x: x[1].total_time, reverse=True)
147 cpupc = (rd.total_time / testtime) * 100
152 "\t" + str(end).ljust(15)[:15] + "\t" + str(rd.total_time).ljust(15) + \
/external/autotest/client/site_tests/graphics_SanAngeles/src/
H A Dapp-linux.c226 double total_time = 0.0; local
253 total_time += (timeAfter.tv_sec - timeNow.tv_sec) +
261 fprintf(stdout, "frame_rate = %.1f\n", num_frames / total_time);
/external/bart/bart/sched/
H A DSchedMultiAssert.py260 total_time = window[1] - window[0]
262 total_time = self._ftrace.get_duration()
264 return busy_time / (total_time * num_cpus) * 100
H A DSchedAssert.py390 total_time = end - begin
392 total_time = self._ftrace.get_duration()
395 run_time = run_time / total_time
/external/ltp/testcases/kernel/io/disktest/
H A Dtimer.c76 time_t total_time = 0; local
138 total_time = env->global_stats.rtime
146 ((double)(total_time) / (double)(tmp_io_count)));
/external/autotest/server/hosts/
H A Dmoblab_host.py321 total_time = 0
323 total_time < DUT_VERIFY_TIMEOUT):
324 total_time = total_time + DUT_VERIFY_SLEEP_SECS
/external/v8/src/
H A Dcounters.cc208 entry.SetTotal(total_time, total_call_count);
212 Entry("Total", total_time, total_call_count).Print(os);
222 total_time += counter->time();
253 V8_NOINLINE void SetTotal(base::TimeDelta total_time, argument
255 if (total_time.InMicroseconds() == 0) {
258 time_percent_ = 100.0 * time_ / total_time.InMicroseconds();
272 base::TimeDelta total_time; member in class:v8::internal::RuntimeCallStatEntries
H A Dd8-posix.cc116 static bool TimeIsOut(const struct timeval& start_time, const int& total_time) { argument
117 if (total_time == -1) return false;
123 if (seconds * 1000 > total_time) return true;
127 if (seconds * 1000000 + useconds > total_time * 1000) {
/external/autotest/contrib/
H A Dcompare_suite.py306 [str(100.0*data[2]*data[3]/suite_job.total_time)
352 suite_job_runtime.total_time = sum(
364 suite_job_runtime.total_time)
367 suite_job_runtime.total_time)
370 suite_job_runtime.total_time)
373 suite_job_runtime.total_time)
/external/eigen/bench/spbench/
H A Dspbenchsolver.h217 double total_time; local
250 total_time = solve_time + compute_time;
251 statbuf << " <TOTAL> " << total_time << "</TOTAL>\n"; local
252 std::cout<< "TOTAL TIME : " << total_time <<std::endl;
270 if(!best_time_val || (best_time_val > total_time))
272 best_time_val = total_time;
/external/python/cpython2/Tools/pybench/
H A Dpybench.py374 total_time = reduce(operator.add, self.times, 0.0)
375 avg_time = total_time / float(runs)
376 operation_avg = total_time / float(runs
383 return min_time, avg_time, total_time, operation_avg, min_overhead
581 total_time = reduce(operator.add, self.roundtimes, 0.0)
582 avg_time = total_time / float(runs)
615 total_time,
667 total_time,
/external/lisa/libs/utils/analysis/
H A Dresidency_analysis.py38 self.total_time = np.float64(0.0)
89 pr.total_time += runtime
90 if debugg: log.info('adding to total time {}, new total {}'.format(runtime, pr.total_time))
143 dict_ret[cpu_key] = self.residency[pivot_type][int(cpunr)][pivot].total_time
H A Dfrequency_analysis.py486 total_time = pd.DataFrame({
490 total_time = total_time.groupby(['frequency']).sum()
518 return ResidencyTime(total_time, active_time)
/external/autotest/client/site_tests/desktopui_SonicExtension/
H A Dtest_utils.py321 total_time = sum(diff_times[field] for field in self.cpu_fields)
322 return float(total_time - idle_time) / total_time * 100.0
/external/autotest/client/bin/
H A Djob.py1115 total_time = stop_time - self.start_time
1119 total_time = max(total_time, 60.0)
1122 bytes_per_sec = used_space / total_time
/external/openssh/
H A Dclientloop.c1505 double start_time, total_time; local
1785 total_time = get_current_time() - start_time;
1788 (unsigned long long)obytes, (unsigned long long)ibytes, total_time);
1789 if (total_time > 0)
1791 obytes / total_time, ibytes / total_time);
/external/autotest/client/site_tests/power_LoadTest/
H A Dpower_LoadTest.py472 total_time = seconds + self._wait_time
475 while elapsed_time < total_time:
/external/libchrome/base/message_loop/
H A Dmessage_loop_unittest.cc140 TimeDelta total_time = Time::Now() - start_time; local
141 EXPECT_GT(5000, total_time.InMilliseconds());

Completed in 1325 milliseconds

12