Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dnetcnt_prog.c30 __u64 ts, dt; in bpf_nextcnt() local
50 dt = ts - percpu_cnt->prev_ts; in bpf_nextcnt()
52 dt *= MAX_BPS; in bpf_nextcnt()
53 dt /= NS_PER_SEC; in bpf_nextcnt()
55 if (cnt->bytes + percpu_cnt->bytes - percpu_cnt->prev_bytes < dt) in bpf_nextcnt()
60 if (dt > REFRESH_TIME_NS) { in bpf_nextcnt()
/tools/perf/util/
Dtime-utils.c548 char dt[32]; in fetch_current_timestamp() local
553 if (!strftime(dt, sizeof(dt), "%Y%m%d%H%M%S", &tm)) in fetch_current_timestamp()
556 scnprintf(buf, sz, "%s%02u", dt, (unsigned)tv.tv_usec / 10000); in fetch_current_timestamp()
/tools/testing/selftests/net/
Dsrv6_end_next_csid_l3vpn_test.sh666 local dt
685 dt="$(build_csid "${dst}")${DT46_FUNC}"
686 container="${container}${dt}"
691 container="${LCBLOCK_ADDR}${dt}"
Dsrv6_end_x_next_csid_l3vpn_test.sh726 local dt
745 dt="$(build_csid "${dst}")${DT46_FUNC}"
746 container="${container}${dt}"
751 container="${LCBLOCK_ADDR}${dt}"
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c502 static void kvm_setup_gdt(struct kvm_vm *vm, struct kvm_dtable *dt) in kvm_setup_gdt() argument
507 dt->base = vm->gdt; in kvm_setup_gdt()
508 dt->limit = getpagesize(); in kvm_setup_gdt()
/tools/power/pm-graph/
Dsleepgraph.py1291 dt = t - self.multitest['last']
1295 pprint('TEST (%s) COMPLETE -- Duration %.1fs' % (id, dt))
1297 self.multitest['total'] += dt
2261 dt = self.time - tgt.end
2266 tgt.ret == self.ret and dt >= 0 and \
2267 dt <= sysvals.callloopmaxgap and \
3066 dt = datetime(int(m.group('y'))+2000, int(m.group('m')),
3069 data.stamp['time'] = dt.strftime('%B %d %Y, %I:%M:%S %p')
6286 dt = datetime.strptime(' '.join(stmp[3:]), '%B %d %Y, %I:%M:%S %p')
6290 tstr = dt.strftime('%Y/%m/%d %H:%M:%S')