0
Gibt es ein Äquivalent zu: Microseconds() finden wir im Carbon-Framework?Mikrosekunden-Timer mit Carbon-Framework
** 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*
Warum brauchen Sie ein Äquivalent? Es befindet sich nicht in Carbon.framework, sondern in CarbonCore.framework, das sich in CoreServices.framework befindet und nicht veraltet ist. – JWWalker
Da Sie C++ verwenden, sollten Sie die Standardbibliothek anstelle von Carbon verwenden. Suchen Sie nach Informationen zur Bibliothek "". –
bames53