Skip to content

automated/linux/ptsematest/ptsematest

Description

ptsematest starts threads that are synchronized via pthread_mutex_unlock()/pthread_mutex_lock() and measures the latency between releasing and getting the lock.

Maintainer

OS

  • debian
  • ubuntu
  • centos
  • fedora
  • openembedded

Scope

  • performance
  • preempt-rt

Devices

  • hi6220-hikey
  • apq8016-sbc
  • mustang
  • moonshot
  • thunderX
  • d03
  • d05

Steps to reproduce

  • cd ./automated/linux/ptsematest/
  • ./ptsematest.sh -D "${DURATION}" -w "${BACKGROUND_CMD}"
  • ../../utils/upload-to-artifactorial.sh -a "output/ptsematest.json" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"
  • ../../utils/send-to-lava.sh ./output/result.txt