* Get a timestamp. * * This used to be vfs_timestamp but the higher precision is unnecessary and * can very negatively affect performance in virtualized environments (e.g., on * vms running on amd64 when using the rdtscp instruction). */
| 430 | * vms running on amd64 when using the rdtscp instruction). |
| 431 | */ |
| 432 | static void |
| 433 | pipe_timestamp(struct timespec *tsp) |
| 434 | { |
| 435 | |
| 436 | getnanotime(tsp); |
| 437 | } |
| 438 | |
| 439 | /* |
| 440 | * The pipe system call for the DTYPE_PIPE type of pipes. If we fail, let |
no test coverage detected