Home
last modified time | relevance | path

Searched refs:CLOCKS_PER_SEC (Results 1 – 8 of 8) sorted by relevance

/kernel/liteos_a/syscall/
Dmisc_syscall.c152 time->tv_usec = (clk % CLOCKS_PER_SEC) * USEC_PER_SEC / CLOCKS_PER_SEC; in ConvertClocks()
153 time->tv_sec = (clk) / CLOCKS_PER_SEC; in ConvertClocks()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dparam.h17 # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */ macro
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dparam.h10 # define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */ macro
/kernel/linux/linux-5.10/include/asm-generic/
Dparam.h10 # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */ macro
/kernel/liteos_m/kal/posix/src/
Dtime.c480 clk = hwTime.tv_sec * CLOCKS_PER_SEC; in clock()
481 clk += hwTime.tv_nsec / (OS_SYS_NS_PER_SECOND / CLOCKS_PER_SEC); in clock()
/kernel/liteos_a/compat/posix/src/
Dtime.c1072 clockMsec = (clock_t)(nowNsec / (OS_SYS_NS_PER_SECOND / CLOCKS_PER_SEC)); in clock()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf_fdpic.c646 NEW_AUX_ENT(AT_CLKTCK, CLOCKS_PER_SEC); in create_elf_fdpic_tables()
Dbinfmt_elf.c258 NEW_AUX_ENT(AT_CLKTCK, CLOCKS_PER_SEC); in create_elf_tables()