if {[string compare $currentOS "Linux"] == 0} {
if {[regexp {Debug mode} [dversion]]} {
# DEBUG mode
- # initial CPU_time for LINUX in DEBUG mode is 292 ((132+14)*2) sec
+ # initial CPU_time for LINUX in DEBUG mode is 900 sec
puts "Checking LINUX performance in debug mode..."
- if {$CPU_time > 292.} {
+ if {$CPU_time > 900.} {
puts "ERROR: OCC25487 is reproduced."
- puts " Low performance: $CPU_time (but should be less than 292 sec)"
+ puts " Low performance: $CPU_time (but should be less than 900 sec)"
} else {
puts "Done!"
}
} else {
# OPTIMIZE mode
- # initial CPU_time for LINUX in OPTIMIZE mode is 146 (132+14) sec
+ # initial CPU_time for LINUX in OPTIMIZE mode is 190 (173+17) sec
puts "Checking LINUX performance in optimize mode..."
- if {$CPU_time > 146.} {
+ if {$CPU_time > 190.} {
puts "ERROR: OCC25487 is reproduced."
- puts " Low performance: $CPU_time (but should be less than 146 sec)"
+ puts " Low performance: $CPU_time (but should be less than 190 sec)"
} else {
puts "Done!"
}
# Extrema_GenExtPS needs to be optimized
##########################################
+cpulimit 1500
+
pload DATAEXCHANGEKERNEL
# Restore testing shape and get timing characteristics for operation stepread
if {[string compare $currentOS "Linux"] == 0} {
if {[regexp {Debug mode} [dversion]]} {
# DEBUG mode
- # initial CPU_time for LINUX in DEBUG mode is 902 ((410+41)*2) sec
+ # initial CPU_time for LINUX in DEBUG mode is 1500 sec
puts "Checking LINUX performance in debug mode..."
- if {$CPU_time > 902.} {
+ if {$CPU_time > 1500.} {
puts "ERROR: OCC25487 is reproduced."
- puts " Low performance: $CPU_time (but should be less than 902 sec)"
+ puts " Low performance: $CPU_time (but should be less than 1500 sec)"
} else {
puts "Done!"
}
} else {
# OPTIMIZE mode
- # initial CPU_time for LINUX in OPTIMIZE mode is 451 (410+41) sec
+ # initial CPU_time for LINUX in OPTIMIZE mode is 575 (523+52) sec
puts "Checking LINUX performance in optimize mode..."
- if {$CPU_time > 451.} {
+ if {$CPU_time > 575.} {
puts "ERROR: OCC25487 is reproduced."
- puts " Low performance: $CPU_time (but should be less than 451 sec)"
+ puts " Low performance: $CPU_time (but should be less than 575 sec)"
} else {
puts "Done!"
}