0025574: gp_YawPitchRoll Euler Angle computation gives wrong results - warnings
[occt.git] / tests / boolean / bfuse_complex / Q3
CommitLineData
40093367 1puts " BUC60068 "
2puts "If scales by 1000, time to compute is 10 times greater "
3##
4## mod pkv from
8418c617 5restore [locate_data_file buc60068a.rle] a
6restore [locate_data_file buc60068b.rle] b
7restore [locate_data_file buc60068a.rle] c
8restore [locate_data_file buc60068b.rle] d
9restore [locate_data_file buc60068a.rle] e
10restore [locate_data_file buc60068b.rle] f
11restore [locate_data_file buc60068a.rle] g
12restore [locate_data_file buc60068b.rle] h
40093367 13## mod pkv from
14##
15
16## fuse
17dchrono j start
18bfuse resab a b
19dchrono j stop
20
21tscale c 0 0 0 100
22tscale d 0 0 0 100
23dchrono k start
24bfuse rescd c d
25dchrono k stop
26
27tscale e 0 0 0 1000
28tscale f 0 0 0 1000
29dchrono l start
30bfuse resef e f
31dchrono l stop
32
33tscale g 0 0 0 10000
34tscale h 0 0 0 10000
35dchrono m start
36bfuse resgh g h
37dchrono m stop
38
8418c617 39regexp {CPU user time: ([0-9|.]+) seconds} [dchrono j show] full Jseconds
40regexp {CPU user time: ([0-9|.]+) seconds} [dchrono k show] full Kseconds
41regexp {CPU user time: ([0-9|.]+) seconds} [dchrono l show] full Lseconds
42regexp {CPU user time: ([0-9|.]+) seconds} [dchrono m show] full Mseconds
40093367 43
be10f7a8 44#sometimes CPU user time may be 0
45set Jtime [expr ($Jseconds * 1.1) + 0.2]
8418c617 46set Ktime $Kseconds
47set Ltime $Lseconds
48set Mtime $Mseconds
40093367 49
50if { $Jtime < $Ktime || $Jtime < $Ltime || $Jtime < $Mtime} {
51 puts "Error: incorrect performance of bfuse operation:"
52 puts "SCALE=1 : $Jtime seconds."
53 puts "SCALE=100 : $Ktime seconds."
54 puts "SCALE=1000 : $Ltime seconds."
55 puts "SCALE=10000 : $Mtime seconds."
56}
57
58compound resab rescd resef resgh result
59
58cf74e0 60checkprops result -s 2.5e+13