我们可以在Carbon框架中找到相当于:Microseconds()吗?
** Microseconds() * * Summary: * Determines the number of microseconds that have elapsed since * system startup time. * * Discussion: * Return a value representing the number of microseconds since some * point in time, usually since the system was booted. One * microsecond is 1 * 10^-6 seconds, and so there are one million ( * 1,000,000 ) microseconds per second. For reference, in one * microsecond light can travel about 850 feet in a vacuum. * * Microseconds() doesn't necessarily advance while the computer is * asleep, so it should not be used for long duration timings. * * Parameters: * * microTickCount: * The number of microseconds elapsed since system startup. * * Availability: * Mac OS X: in version 10.0 and later in CoreServices.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in InterfaceLib 7.1 and later*
答案 0 :(得分:0)
Microseconds
是核心服务,始终可从Carbon访问。 (Carbon位于核心服务之上)。
它也来自经典的Mac OS。