Home
last modified time | relevance | path

Searched refs:tv_sec (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.8/kernel/src/time/
Dsyscall.rs19 pub tv_sec: PosixTimeT, field
57 tv_sec: unsafe { *sleep_time }.tv_sec, in nanosleep()
63 unsafe { *rm_time }.tv_sec = slt_spec.tv_sec; in nanosleep()
90 (*tv).tv_sec = posix_time.tv_sec; in gettimeofday()
Dtimekeeping.rs80 tv_sec: 0, in new()
84 tv_sec: 0, in new()
88 tv_sec: 0, in new()
92 tv_sec: 0, in new()
163 tv_sec: 0, in getnstimeofday()
179 _xtime.tv_sec += sec; in getnstimeofday()
182 _xtime.tv_sec += 1; in getnstimeofday()
198 tv_sec: tp.tv_sec, in do_gettimeofday()
222 let mut sec = -timekeeper.xtime.tv_sec; in timekeeping_init()
228 timekeeper.wall_to_monotonic.tv_sec = sec; in timekeeping_init()
[all …]
Dsleep.rs37 tv_sec: 0, in nanosleep()
61 tv_sec: 0, in nanosleep()
92 tv_sec: (usec / 1000000) as i64, in rs_usleep()
Dmod.rs43 pub tv_sec: i64, field
51 tv_sec: sec, in new()
/DragonOS-0.1.8/user/apps/test_fstat/
Dmain.c30 printf("st_atim.sec= %d\tst_atim.nsec= %d\n", (*st).st_atim.tv_sec, (*st).st_atim.tv_nsec); in main()
31 printf("st_mtim.sec= %d\tst_mtim.nsec= %d\n", (*st).st_mtim.tv_sec, (*st).st_mtim.tv_nsec); in main()
32 printf("st_ctim.sec= %d\tst_ctim.nsec= %d\n", (*st).st_ctim.tv_sec, (*st).st_ctim.tv_nsec); in main()
/DragonOS-0.1.8/user/apps/test_gettimeofday/
Dmain.c22 printf("tv = %ld.%06ld\n", tv->tv_sec, tv->tv_usec); in main()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dtime.md15 ``long int tv_sec`` : 秒
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dtime.h31 long int tv_sec; // 秒 member
/DragonOS-0.1.8/user/libs/libc/src/
Dtime.c27 tv_sec : (long int)(usec / 1000000), in usleep()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs105 tv_sec: 0, in new()
109 tv_sec: 0, in new()
113 tv_sec: 0, in new()
588 kstat.atime.tv_sec = metadata.atime.tv_sec; in do_fstat()
590 kstat.mtime.tv_sec = metadata.mtime.tv_sec; in do_fstat()
592 kstat.ctime.tv_sec = metadata.ctime.tv_sec; in do_fstat()