The code has always supported this, it just wasn't documented in the header file. If caller passes NULL, it will use the current thread to get the TSC. This is actually the most common case. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I39ba8260f0cb277b9272441bd336294c3327d5de Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14442 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |