/* *Copyright(c)2011,2019,Oracleand/oritsaffiliates.Allrightsreserved. *DONOTALTERORREMOVECOPYRIGHTNOTICESORTHISFILEHEADER. * *Thiscodeisfreesoftware;youcanredistributeitand/ormodifyit *underthetermsoftheGNUGeneralPublicLicenseversion2only,as *publishedbytheFreeSoftwareFoundation. * *Thiscodeisdistributedinthehopethatitwillbeuseful,java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 45 *ANY*version2formore(acopyincludedLICENSEjava.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74 *FITNESSFORAPARTICULARPURPOSE.SeetheGNUGeneralPublicLicense *version2formoredetails(acopyisincludedintheLICENSEfilethat *accompaniedthiscode). * *YoushouldhavereceivedacopyoftheGNUGeneralPublicLicenseversion *2alongwiththiswork;ifnot,writetotheFreeSoftwareFoundation, ifndefOS_CPU_LINUX_X86_OS_LINUX_X86_INLINE_HPP * includeruntime/java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 25 *orvisitwww.oracle.comifyouneedadditionalinformationorhaveany __volatile__"":=(es)) *
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 3
// See http://www.technovelty.org/code/c/reading-rdtsc.htl for details inlinejlongos::rdtsc(){ #ifndefAMD64 // 64 bit result in edx:eax uint64_tres; __asm____volatile__("rdtsc":"=A"(res)); return(jlong)res; #else uint64_tres; uint32_tts1,ts2; __asm____volatile__("rdtsc":"=a"(ts1),"=d"(ts2)); res=((uint64_t)ts1|(uint64_t)ts2<<32); return(jlong)res; #endif// AMD64 }
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.