de.tsl2.nano.core.execution.Profiler.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4?
t ? ?
? ?
? ? ? ? ?
? ?
? ?
? ? ? ?
? ? ? ? ? ?
? ? '
? ?
? ?????????
C ?
? C ? C ?
? ? C ?
? C ?
C ?
? ? ? ?
? ? ?
? ?
+ ? ?
+ ?
> ? ? ?
? ?
? ? ?
+ ? ?
+ ? ?
? ?
?
?
t
C ? ? C C
?
Q
+
^ !"#$%
^&
\'?? ()
c ?*+
f ? ?,-./0/1
t2
324
+567 ?8
9:; InnerClasses self &Lde/tsl2/nano/core/execution/Profiler; profObjects Ljava/util/Map; Signature PLjava/util/Map; cal Ljava/util/Calendar; sdf Ljava/text/SimpleDateFormat; LOG Lorg/apache/commons/logging/Log; ()V Code LineNumberTable LocalVariableTable this si (()Lde/tsl2/nano/core/execution/Profiler;
StackMapTable prepareProcessor ()J j J e Ljava/lang/InterruptedException; ? workLoop (J)J i I steps starting '(Ljava/lang/Object;Ljava/lang/String;)J classOrInstance Ljava/lang/Object; name Ljava/lang/String; po ,Lde/tsl2/nano/core/execution/ProfilerObject;
getUsedMem getClazz %(Ljava/lang/Object;)Ljava/lang/Class;; ending ((Ljava/lang/Object;Ljava/lang/String;Z)J clean Z log (Ljava/lang/String;)V text
stressTest *(Ljava/lang/String;JLjava/lang/Runnable;)J
test_count action Ljava/lang/Runnable; compareTests +(Ljava/lang/String;J[Ljava/lang/Runnable;)V description actions [Ljava/lang/Runnable; durations Ljava/util/List; LocalVariableTypeTable "Ljava/util/List;< main ([Ljava/lang/String;)V args [Ljava/lang/String;
TEST_COUNT summarize
testObject totalAmount= clear
SourceFile
Profiler.java ? ? java/util/HashMap x y>?@ | } java/text/SimpleDateFormat HH:mm:ss.SSS ? ? ~ ABCDE v w $de/tsl2/nano/core/execution/Profiler ? ? preparing a hot working cpu...FGHIJK ? ? java/lang/InterruptedExceptionLMNOP ? ?QR ? ?ST ?U ? ? ?V ?WXYZ[\]^_K ~
============================================================================================================================= ? ? java/lang/StringBuilder ==>> starting `abc : ' ' at defg used mem: `h kbic }=============================================================================================================================jklm ?n ? java/lang/Classop ? ?qrst *de/tsl2/nano/core/execution/ProfilerObjectutv ?w ? <<== ending ' duration: diff mem: xyz{ ? ? ? ? ? ? ?|} ? ? ? java/util/ArrayList ?E test `~ ? ?Z<?? Summary of tests with counts : java/util/Dateu? java/lang/Long? ? ?K standard-construction &de/tsl2/nano/core/execution/Profiler$1 fast-construction &de/tsl2/nano/core/execution/Profiler$2?????=??????? total durations of testObject=`?
and name= is: ? ???? java/lang/Object java/util/List java/util/Iterator java/util/Calendar getInstance ()Ljava/util/Calendar; getTimeZone ()Ljava/util/TimeZone; java/util/TimeZone setRawOffset (I)V org/apache/commons/logging/Log info (Ljava/lang/Object;)V java/lang/Thread sleep (J)V "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
fastConstruct .()Lde/tsl2/nano/core/execution/ProfilerObject; clazz Ljava/lang/Class; java/lang/System currentTimeMillis start startMem hashCode ()I java/lang/Integer valueOf (I)Ljava/lang/Integer;
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; setTimeInMillis append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getSimpleName ()Ljava/lang/String; getTime ()Ljava/util/Date; format $(Ljava/util/Date;)Ljava/lang/String; (J)Ljava/lang/StringBuilder; toString java/lang/Runtime
getRuntime ()Ljava/lang/Runtime; totalMemory
freeMemory getClass ()Ljava/lang/Class; hash &(Ljava/lang/Class;Ljava/lang/String;)I remove &(Ljava/lang/Object;)Ljava/lang/Object; get end endMem out Ljava/io/PrintStream; java/io/PrintStream println java/lang/Runnable run (I)Ljava/lang/StringBuilder; (J)Ljava/lang/Long; add (Ljava/lang/Object;)Z (I)Ljava/lang/Object; longValue values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; equals java/lang/String -(Ljava/lang/Object;)Ljava/lang/StringBuilder; de/tsl2/nano/core/log/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! t
v w x y z { | } ~ ? ? ? ? ? m /*? *? Y? ? *? ? *? Y? ?
*? ? ? ? ? E : <