Lines Matching full:ratio
392 echo "ratio-to-prev test"
393 if ! perf record -o /dev/null -e "{instructions, cycles/period=100000,ratio-to-prev=0.5/}" \
396 echo "ratio-to-prev [Skipped not supported]"
399 if ! perf record -o /dev/null -e "instructions, cycles/period=100000,ratio-to-prev=0.5/" \
400 true |& grep -q 'Invalid use of ratio-to-prev term without preceding element in group'
402 echo "ratio-to-prev test [Failed elements must be in same group]"
406 if ! perf record -o /dev/null -e "{instructions,dummy,cycles/period=100000,ratio-to-prev=0.5/}" \
409 echo "ratio-to-prev test [Failed elements must have same PMU]"
413 if ! perf record -o /dev/null -e "{instructions,cycles/ratio-to-prev=0.5/}" \
414 true |& grep -q 'Event period term or count (-c) must be set when using ratio-to-prev term.'
416 echo "ratio-to-prev test [Failed period must be set]"
420 if ! perf record -o /dev/null -e "{cycles/ratio-to-prev=0.5/}" \
421 true |& grep -q 'Invalid use of ratio-to-prev term without preceding element in group'
423 echo "ratio-to-prev test [Failed need 2+ events]"
427 echo "Basic ratio-to-prev record test [Success]"