added event thread executor timeFunction showConstructDestruct timeStamp
This commit is contained in:
+2
-2
@@ -77,5 +77,5 @@ structure value
|
||||
structure timeStamp
|
||||
long secondsPastEpoch
|
||||
int nanoSeconds
|
||||
Field: totalConstruct 156 totalDestruct 63 totalReferenceCount 93
|
||||
PVField: totalConstruct 55 totalDestruct 55
|
||||
field: totalConstruct 156 totalDestruct 63 totalReference 93
|
||||
pvField: totalConstruct 55 totalDestruct 55
|
||||
|
||||
@@ -77,5 +77,5 @@ structure value
|
||||
structure timeStamp
|
||||
long secondsPastEpoch
|
||||
int nanoSeconds
|
||||
Field: totalConstruct 156 totalDestruct 63 totalReferenceCount 93
|
||||
PVField: totalConstruct 55 totalDestruct 55
|
||||
field: totalConstruct 156 totalDestruct 63 totalReference 93
|
||||
pvField: totalConstruct 55 totalDestruct 55
|
||||
|
||||
+2
-1
@@ -17,4 +17,5 @@ stack 4 3 2 1 0
|
||||
|
||||
Ordered Queue test
|
||||
list 0 1 2 3 4
|
||||
totalConstructList 8 totalDestructList 8 totalConstructListNode 4038 totalDestructListNode 4038
|
||||
linkedListNode: totalConstruct 4041 totalDestruct 4038
|
||||
linkedList: totalConstruct 4041 totalDestruct 4038
|
||||
|
||||
+12
-12
@@ -1,20 +1,20 @@
|
||||
|
||||
Time test
|
||||
diff 23.646940 milliSeconds
|
||||
time per iteration 23.646940 microseconds
|
||||
time per addTail/removeHead 0.011823 microseconds
|
||||
diff 0.000025 milliSeconds
|
||||
time per iteration 0.000025 microseconds
|
||||
time per addTail/removeHead 0.000000 microseconds
|
||||
|
||||
Time test locked
|
||||
diff 183.897825 milliSeconds
|
||||
time per iteration 183.897825 microseconds
|
||||
time per addTail/removeHead 0.091949 microseconds
|
||||
diff 177.872050 milliSeconds
|
||||
time per iteration 177.872050 microseconds
|
||||
time per addTail/removeHead 0.088936 microseconds
|
||||
|
||||
Time ArrayList test
|
||||
diff 652.546057 milliSeconds
|
||||
time per iteration 652.546057 microseconds
|
||||
time per addTail/removeHead 0.326273 microseconds
|
||||
diff 648.628783 milliSeconds
|
||||
time per iteration 648.628783 microseconds
|
||||
time per addTail/removeHead 0.324314 microseconds
|
||||
|
||||
Time ArrayList test locked
|
||||
diff 814.756660 milliSeconds
|
||||
time per iteration 814.756660 microseconds
|
||||
time per addTail/removeHead 0.407378 microseconds
|
||||
diff 805.752571 milliSeconds
|
||||
time per iteration 805.752571 microseconds
|
||||
time per addTail/removeHead 0.402876 microseconds
|
||||
|
||||
@@ -17,4 +17,5 @@ stack 4 3 2 1 0
|
||||
|
||||
Ordered Queue test
|
||||
list 0 1 2 3 4
|
||||
totalConstructList 8 totalDestructList 8 totalConstructListNode 4038 totalDestructListNode 4038
|
||||
linkedListNode: totalConstruct 4041 totalDestruct 4038
|
||||
linkedList: totalConstruct 4041 totalDestruct 4038
|
||||
|
||||
+3
-4
@@ -33,7 +33,6 @@ units offset 11 next 12 number 1
|
||||
limit offset 12 next 15 number 3
|
||||
low offset 13 next 14 number 1
|
||||
high offset 14 next 15 number 1
|
||||
Field: initialTotalReferences 93 finalTotalReferences 93
|
||||
Field: totalConstruct 111 totalDestruct 18 totalReferenceCount 93
|
||||
PVField: totalConstruct 17 totalDestruct 17
|
||||
PVAuxInfo: totalConstruct 1 totalDestruct 1
|
||||
field: totalConstruct 111 totalDestruct 18 totalReference 93
|
||||
pvField: totalConstruct 17 totalDestruct 17
|
||||
pvAuxInfo: totalConstruct 1 totalDestruct 1
|
||||
|
||||
@@ -33,7 +33,6 @@ units offset 11 next 12 number 1
|
||||
limit offset 12 next 15 number 3
|
||||
low offset 13 next 14 number 1
|
||||
high offset 14 next 15 number 1
|
||||
Field: initialTotalReferences 93 finalTotalReferences 93
|
||||
Field: totalConstruct 111 totalDestruct 18 totalReferenceCount 93
|
||||
PVField: totalConstruct 17 totalDestruct 17
|
||||
PVAuxInfo: totalConstruct 1 totalDestruct 1
|
||||
field: totalConstruct 111 totalDestruct 18 totalReference 93
|
||||
pvField: totalConstruct 17 totalDestruct 17
|
||||
pvAuxInfo: totalConstruct 1 totalDestruct 1
|
||||
|
||||
+2
-2
@@ -281,5 +281,5 @@ structure string
|
||||
structure timeStamp
|
||||
long secondsPastEpoch 0
|
||||
int nanoSeconds 0
|
||||
Field: totalConstruct 388 totalDestruct 295 totalReferenceCount 93
|
||||
PVField: totalConstruct 279 totalDestruct 279
|
||||
field: totalConstruct 388 totalDestruct 295 totalReference 93
|
||||
pvField: totalConstruct 279 totalDestruct 279
|
||||
|
||||
+2
-2
@@ -281,5 +281,5 @@ structure string
|
||||
structure timeStamp
|
||||
long secondsPastEpoch 0
|
||||
int nanoSeconds 0
|
||||
Field: totalConstruct 388 totalDestruct 295 totalReferenceCount 93
|
||||
PVField: totalConstruct 279 totalDestruct 279
|
||||
field: totalConstruct 388 totalDestruct 295 totalReference 93
|
||||
pvField: totalConstruct 279 totalDestruct 279
|
||||
|
||||
@@ -56,5 +56,5 @@ structure powerSupply
|
||||
structure timeStamp
|
||||
long secondsPastEpoch 0
|
||||
int nanoSeconds 0
|
||||
Field: totalConstruct 153 totalDestruct 60 totalReferenceCount 93
|
||||
PVField: totalConstruct 56 totalDestruct 56
|
||||
field: totalConstruct 153 totalDestruct 60 totalReference 93
|
||||
pvField: totalConstruct 56 totalDestruct 56
|
||||
|
||||
@@ -56,5 +56,5 @@ structure powerSupply
|
||||
structure timeStamp
|
||||
long secondsPastEpoch 0
|
||||
int nanoSeconds 0
|
||||
Field: totalConstruct 153 totalDestruct 60 totalReferenceCount 93
|
||||
PVField: totalConstruct 56 totalDestruct 56
|
||||
field: totalConstruct 153 totalDestruct 60 totalReference 93
|
||||
pvField: totalConstruct 56 totalDestruct 56
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
threads
|
||||
basic middle
|
||||
|
||||
linkedListNode: totalConstruct 17 totalDestruct 10
|
||||
linkedList: totalConstruct 17 totalDestruct 10
|
||||
event: totalConstruct 8 totalDestruct 8
|
||||
thread: totalConstruct 2 totalDestruct 2
|
||||
executor: totalConstruct 2 totalDestruct 2
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
|
||||
if $running_under_some_shell; # testThread.pl
|
||||
use Env;
|
||||
system ("rm testThread");
|
||||
system ("rm testThreadDiff");
|
||||
system ("../bin/${EPICS_HOST_ARCH}/testThread testThread testThreadAux");
|
||||
system ("diff testThread testThreadGold >> testThreadDiff");
|
||||
if(-z "testThreadDiff") {
|
||||
print "testThread OK\n";
|
||||
} else {
|
||||
print "testThread Failed\n";
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
time per call 25.290591 microseconds
|
||||
@@ -0,0 +1,8 @@
|
||||
threads
|
||||
basic middle
|
||||
|
||||
linkedListNode: totalConstruct 17 totalDestruct 10
|
||||
linkedList: totalConstruct 17 totalDestruct 10
|
||||
event: totalConstruct 8 totalDestruct 8
|
||||
thread: totalConstruct 2 totalDestruct 2
|
||||
executor: totalConstruct 2 totalDestruct 2
|
||||
Reference in New Issue
Block a user