R/nanotime.R

Defines functions get_nanotime

Documented in get_nanotime

#' Return the current value of the platform timer.
#'
#' The current value of the most accurate timer of the platform is
#' returned. This can be used as a time stamp for logging or similar
#' purposes. Please note that there is no common reference, that is,
#' the timer value cannot be converted to a date and time value.
#' 
#' @author Olaf Mersmann
get_nanotime <- function() {
  .Call(do_get_nanotime, PACKAGE="microbenchmark")
}
joshuaulrich/microbenchmark documentation built on Feb. 26, 2024, 5:23 p.m.