xref: /third_party/ltp/testcases/realtime/func/measurement/run_auto.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/realtime/func/measurement/
1f08c3bdfSopenharmony_ci#! /bin/bash
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ciprofile=${1:-default}
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ciif [ ! $SCRIPTS_DIR ]; then
6f08c3bdfSopenharmony_ci        # assume we're running standalone
7f08c3bdfSopenharmony_ci        export SCRIPTS_DIR=../../scripts/
8f08c3bdfSopenharmony_cifi
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_cisource $SCRIPTS_DIR/setenv.sh
11f08c3bdfSopenharmony_ci
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ci# This is a temporary workaround for previous
14f08c3bdfSopenharmony_ci# loop support patch which seems to be having
15f08c3bdfSopenharmony_ci# issues right now.
16f08c3bdfSopenharmony_ci
17f08c3bdfSopenharmony_ciLOG_FILE="$LOG_DIR/$LOG_FORMAT-rdtsc-latency.log"
18f08c3bdfSopenharmony_ci$SCRIPTS_DIR/run_c_files.sh $profile "rdtsc-latency"
19f08c3bdfSopenharmony_ci
20f08c3bdfSopenharmony_ciLOG_FILE="$LOG_DIR/$LOG_FORMAT-preempt_timing.log"
21f08c3bdfSopenharmony_ci$SCRIPTS_DIR/run_c_files.sh $profile "preempt_timing"
22

Indexes created Thu Nov 07 10:32:03 CST 2024