Copyright (C) 2001 Chad David <email@example.com>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice(s), this list of conditions and the following disclaimer as the first lines of this file unmodified other than the possible addition of one or more copyright notices. 2. Redistributions in binary for...
NAMEvfs_timestamp - generate current timestamp
SYNOPSISIn sys/param.h In sys/vnode.h Ft void Fn vfs_timestamp struct timespec *tsp
DESCRIPTIONThe Fn vfs_timestamp function fills in Fa tsp with the current time.
The precision is based on the value of the vfs.timestamp_precision sysctl variable:
- seconds only; nanoseconds are zeroed.
- seconds and nanoseconds, accurate within 1/HZ.
- seconds and nanoseconds, truncated to microseconds.
- seconds and nanoseconds, maximum precision.