Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 25 of 222) sorted by relevance

123456789

/external/perfetto/tools/cpu_utilization/
Dcpu_utilization.cc137 unsigned long utime = 0; in CpuUtilizationMain() local
139 ReadUtimeStime(fd, &utime, &stime); in CpuUtilizationMain()
146 unsigned long utime_diff = utime - last_utime; in CpuUtilizationMain()
148 PERFETTO_LOG("utime_ticks: [%lu] - [%lu] = [%lu]", utime, last_utime, in CpuUtilizationMain()
167 last_utime = utime; in CpuUtilizationMain()
/external/python/cpython2/RISCOS/
Dunixstuff.c26 int acorntime(bits *ex, bits *ld, time_t utime) in acorntime() argument
31 timlo = ((unsigned)utime & 0x00ffffffU) * 100 + 0x00996a00U; in acorntime()
32 timhi = ((unsigned)utime >> 24); in acorntime()
/external/python/cpython3/Lib/test/
Dtest_posix.py437 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime")
442 posix.utime(fd)
443 posix.utime(fd, None)
444 self.assertRaises(TypeError, posix.utime, fd, (None, None))
445 self.assertRaises(TypeError, posix.utime, fd, (now, None))
446 self.assertRaises(TypeError, posix.utime, fd, (None, now))
447 posix.utime(fd, (int(now), int(now)))
448 posix.utime(fd, (now, now))
449 self.assertRaises(ValueError, posix.utime, fd, (now, now), ns=(now, now))
450 self.assertRaises(ValueError, posix.utime, fd, (now, 0), ns=(None, None))
[all …]
Dtest_unicode_file.py37 os.utime(filename, None)
38 os.utime(filename, (time.time(), time.time()))
Dtest_os.py654 os.utime(filename, ns=ns)
672 os.utime(filename, (atime, mtime))
681 os.utime(filename, times=(atime, mtime))
684 @unittest.skipUnless(os.utime in os.supports_follow_symlinks,
691 os.utime(filename, ns=ns, follow_symlinks=False)
694 @unittest.skipUnless(os.utime in os.supports_fd,
701 os.utime(fp.fileno(), ns=ns)
704 @unittest.skipUnless(os.utime in os.supports_dir_fd,
712 os.utime(name, dir_fd=dirfd, ns=ns)
720 os.utime(filename, ns=ns)
[all …]
/external/grpc-grpc/test/cpp/qps/
Dusage_timer.cc43 static void get_resource_usage(double* utime, double* stime) { in get_resource_usage() argument
47 *utime = time_double(&usage.ru_utime); in get_resource_usage()
50 *utime = 0; in get_resource_usage()
/external/zlib/contrib/bench/
Dzlib_bench.cc217 double utime[runs]; in zlib_file() local
244 utime[run] = std::chrono::duration<double>(now() - start).count(); in zlib_file()
258 std::sort(utime, utime + runs); in zlib_file()
261 double inflate_rate_med = length * repeats / mega_byte / utime[runs / 2]; in zlib_file()
263 double inflate_rate_max = length * repeats / mega_byte / utime[0]; in zlib_file()
/external/v8/third_party/zlib/contrib/bench/
Dzlib_bench.cc237 double utime[runs]; in zlib_file() local
264 utime[run] = std::chrono::duration<double>(now() - start).count(); in zlib_file()
278 std::sort(utime, utime + runs); in zlib_file()
281 double inflate_rate_med = length * repeats / mega_byte / utime[runs / 2]; in zlib_file()
283 double inflate_rate_max = length * repeats / mega_byte / utime[0]; in zlib_file()
/external/libbrillo/brillo/daemons/
Ddaemon.cc117 time_t utime = time.ToTimeT(); in GetTimeAsLogString() local
119 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsLogString()
/external/elfutils/tests/
Drun-readelf-mixed-corenote.sh32 utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
98 utime: 0.000042, stime: 0.000103, cutime: 0.000000, cstime: 0.000000
163 utime: 0.000043, stime: 0.000102, cutime: 0.000000, cstime: 0.000000
235 utime: 0.000000, stime: 0.004000, cutime: 0.000000, cstime: 0.000000
302 utime: 0.010000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
442 utime: 0.000000, stime: 0.001000, cutime: 0.000000, cstime: 0.000000
508 utime: 0.000000, stime: 0.001000, cutime: 0.000000, cstime: 0.000000
598 utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
662 utime: 0.000000, stime: 0.110000, cutime: 0.000000, cstime: 0.000000
Drun-readelf-vmcoreinfo.sh31 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
49 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
/external/autotest/client/bin/result_tools/
Ddedupe_file_throttler_unittest.py35 os.utime(f, (modification_time, modification_time))
58 os.utime(f, (modification_time, modification_time))
Dshrink_file_throttler_unittest.py70 os.utime(file3, (OLD_TIME, OLD_TIME))
81 os.utime(file4, (OLD_TIME, OLD_TIME))
/external/python/cpython3/Modules/
Dtimemodule.c1126 _PyTime_t ktime, utime, t; local
1150 utime = large.QuadPart;
1153 t = _PyTime_FromNanoseconds((ktime + utime) * 100);
1195 _PyTime_t utime, stime;
1204 if (_PyTime_FromTimeval(&utime, &ru.ru_utime) < 0) {
1211 _PyTime_t total = utime + stime;
1315 _PyTime_t ktime, utime, t; local
1339 utime = large.QuadPart;
1342 t = _PyTime_FromNanoseconds((ktime + utime) * 100);
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_info.h36 unsigned long utime; member
/external/strace/
Dutime.c11 SYS_FUNC(utime) in SYS_FUNC() argument
Dmpers.am2 …fo.c rt_sigreturn.c rtc.c sg_io_v3.c sigaltstack.c sock.c sysinfo.c times.c ustat.c utime.c v4l2.c
/external/python/cpython3/Tools/scripts/
Dcopytime.py20 os.utime(file2, (stat1[ST_ATIME], stat1[ST_MTIME]))
/external/python/cpython2/Tools/scripts/
Dcopytime.py20 os.utime(file2, (stat1[ST_ATIME], stat1[ST_MTIME]))
/external/python/setuptools/setuptools/tests/
Dtest_dep_util.py20 os.utime(creation_order[i], (mtime, mtime))
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py205 os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
248 os.utime(source, (50, 50))
261 os.utime(source, (50, 50))
280 os.utime(source, (50, 50))
293 os.utime(source, (50, 50))
304 os.utime(source, (50, 50))
335 os.utime(source, (50, 50))
/external/python/cpython2/Lib/test/
Dtest_posix.py444 posix.utime(test_support.TESTFN, None)
445 self.assertRaises(TypeError, posix.utime, test_support.TESTFN, (None, None))
446 self.assertRaises(TypeError, posix.utime, test_support.TESTFN, (now, None))
447 self.assertRaises(TypeError, posix.utime, test_support.TESTFN, (None, now))
448 posix.utime(test_support.TESTFN, (int(now), int(now)))
449 posix.utime(test_support.TESTFN, (now, now))
/external/perfetto/src/base/
Dwatchdog_posix.cc75 &out->utime, &out->stime, &out->rss_pages) != 3) { in ReadProcStat()
168 uint64_t cpu_time = stat.utime + stat.stime; in ThreadMain()
/external/ImageMagick/MagickCore/
Dnt-base.h278 #if !defined(utime)
279 # define utime(filename,time) _utime(filename,(struct _utimbuf*) time) macro
/external/kernel-headers/original/uapi/linux/raid/
Dmd_p.h160 __u32 utime; /* 0 Superblock update time */ member
293 __le64 utime; /* 40 bits second, 24 bits microseconds */ member

123456789