Searched refs:tv_sec (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.8/kernel/src/time/ |
D | syscall.rs | 19 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()
|
D | timekeeping.rs | 80 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 …]
|
D | sleep.rs | 37 tv_sec: 0, in nanosleep() 61 tv_sec: 0, in nanosleep() 92 tv_sec: (usec / 1000000) as i64, in rs_usleep()
|
D | mod.rs | 43 pub tv_sec: i64, field 51 tv_sec: sec, in new()
|
/DragonOS-0.1.8/user/apps/test_fstat/ |
D | main.c | 30 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/ |
D | main.c | 22 printf("tv = %ld.%06ld\n", tv->tv_sec, tv->tv_usec); in main()
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | time.md | 15 ``long int tv_sec`` : 秒
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | time.h | 31 long int tv_sec; // 秒 member
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | time.c | 27 tv_sec : (long int)(usec / 1000000), in usleep()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | syscall.rs | 105 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()
|