Function report |
Source Code:kernel\time\time.c |
Create Date:2022-07-28 10:38:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:s_to_timeval - Convert nanoseconds to timeval*@nsec: the nanoseconds value to be converted* Returns the timeval representation of the nsec parameter.
Proto:struct timeval ns_to_timeval(const s64 nsec)
Type:struct timeval
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const s64 | nsec |
| 485 | ts = s_to_timespec - Convert nanoseconds to timespec*@nsec: the nanoseconds value to be converted* Returns the timespec representation of the nsec parameter. |
| 489 | microseconds = nanoseconds / 1000 |
| 491 | Return tv |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |