Home
last modified time | relevance | path

Searched refs:stime (Results 1 – 6 of 6) sorted by relevance

/system/core/metricsd/
Dtimer_test.cc53 stime += base::TimeDelta::FromMilliseconds(kStime1MSec); in SetUp()
65 base::TimeTicks stime, etime, stime2, etime2, stime3, etime3; member in chromeos_metrics::TimerTest
70 .WillOnce(Return(stime)) in TEST_F()
74 ASSERT_TRUE(timer_.start_time_ == stime); in TEST_F()
89 .WillOnce(Return(stime)) in TEST_F()
100 .WillOnce(Return(stime)); in TEST_F()
109 .WillOnce(Return(stime)) in TEST_F()
131 .WillOnce(Return(stime)) in TEST_F()
150 .WillOnce(Return(stime)) in TEST_F()
157 ASSERT_TRUE(timer_.start_time_ == stime); in TEST_F()
[all …]
/system/core/toolbox/
Dtop.c46 long unsigned utime, ntime, stime, itime; member
64 uint64_t stime; member
243 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &new_cpu.utime, &new_cpu.ntime, &new_cpu.stime, in read_procs()
358 &proc->stime, in read_stat()
438 new_procs[i]->delta_stime = new_procs[i]->stime - old_proc->stime; in print_procs()
447 total_delta_time = (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime in print_procs()
449 - (old_cpu.utime + old_cpu.ntime + old_cpu.stime + old_cpu.itime in print_procs()
457 ((new_cpu.stime ) - (old_cpu.stime)) * 100 / total_delta_time, in print_procs()
464 new_cpu.stime - old_cpu.stime, in print_procs()
Dps.c56 unsigned utime, stime; in ps_line() local
111 stime = atoi(nexttok(&ptr)); in ps_line()
200 printf(" (u:%d, s:%d)", utime, stime); in ps_line()
/system/extras/cpustats/
Dcpustats.c45 long unsigned utime, ntime, stime, itime, iowtime, irqtime, sirqtime; member
242 &new_total_cpu.utime, &new_total_cpu.ntime, &new_total_cpu.stime, &new_total_cpu.itime, in read_stats()
252 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, in read_stats()
292 return (cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + cpu->irqtime + in get_cpu_total_time()
327 new_cpu->stime - old_cpu->stime, in print_cpu_stats()
340 new_cpu->stime - old_cpu->stime, in print_cpu_stats()
/system/extras/tests/workloads/
Dsystemapps.sh220 stime=$(getStartTime $actName $tmpTraceOut)
223 ((tdiff=$etime-$stime))
224 if [ $etime -eq 0 -o $stime -eq 0 ]; then
225 handleError $app : could not compute start time stime=$stime etime=$etime
/system/extras/ANRdaemon/
DANRdaemon.cpp72 unsigned long utime, ntime, stime, itime; member
137 &cpu->stime, &cpu->itime, &cpu->iowtime, &cpu->irqtime, in get_cpu_stat()
147 cpu->total = cpu->utime + cpu->ntime + cpu->stime + cpu->itime in get_cpu_stat()