Movatterモバイル変換
[0]ホーム
{-# LINE1"GHC/Clock.hsc"#-}{-# LANGUAGE Trustworthy #-}{-# LANGUAGE NoImplicitPrelude #-}moduleGHC.Clock(getMonotonicTime,getMonotonicTimeNSec)whereimportGHC.BaseimportGHC.RealimportData.Word-- | Return monotonic time in seconds, since some unspecified starting point---- @since 4.11.0.0getMonotonicTime::IODoublegetMonotonicTime=dow<-getMonotonicTimeNSecreturn(fromIntegralw/1000000000)-- | Return monotonic time in nanoseconds, since some unspecified starting point---- @since 4.11.0.0foreignimportccallunsafe"getMonotonicNSec"getMonotonicTimeNSec::IOWord64
[8]ページ先頭