jdk.internal.perf
Class Perf

java.lang.Object
  extended by jdk.internal.perf.Perf

public final class Perf
extends Object

Stub class to support pre and post Java 9 runtimes. This class should never be loaded at runtime.

Author:
Alexey Ragozin ([email protected])

Constructor Summary
Perf()
           
 
Method Summary
 ByteBuffer attach(int paramInt, String paramString)
           
 ByteBuffer attach(String paramString1, int paramInt, String paramString2)
           
 ByteBuffer createByteArray(String paramString, int paramInt1, int paramInt2, byte[] paramArrayOfByte, int paramInt3)
           
 ByteBuffer createLong(String paramString, int paramInt1, int paramInt2, long paramLong)
           
 ByteBuffer createString(String paramString1, int paramInt1, int paramInt2, String paramString2)
           
 ByteBuffer createString(String paramString1, int paramInt1, int paramInt2, String paramString2, int paramInt3)
           
static Perf getPerf()
           
 long highResCounter()
           
 long highResFrequency()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Perf

public Perf()
Method Detail

getPerf

public static Perf getPerf()

attach

public ByteBuffer attach(int paramInt,
                         String paramString)
                  throws IllegalArgumentException,
                         IOException
Throws:
IllegalArgumentException
IOException

attach

public ByteBuffer attach(String paramString1,
                         int paramInt,
                         String paramString2)
                  throws IllegalArgumentException,
                         IOException
Throws:
IllegalArgumentException
IOException

createLong

public ByteBuffer createLong(String paramString,
                             int paramInt1,
                             int paramInt2,
                             long paramLong)

createString

public ByteBuffer createString(String paramString1,
                               int paramInt1,
                               int paramInt2,
                               String paramString2,
                               int paramInt3)

createString

public ByteBuffer createString(String paramString1,
                               int paramInt1,
                               int paramInt2,
                               String paramString2)

createByteArray

public ByteBuffer createByteArray(String paramString,
                                  int paramInt1,
                                  int paramInt2,
                                  byte[] paramArrayOfByte,
                                  int paramInt3)

highResCounter

public long highResCounter()

highResFrequency

public long highResFrequency()


Copyright © 2019. All Rights Reserved.