aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-06-07 13:20:09 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-06-07 13:20:09 +0200
commit524ff54731e9754cc6f4a0b279b328c6034ab1bf (patch)
tree66eab4e4e8573ec9cd92d488cf91acf4857612c7
parent5fc4802a70a4b8414198b516458fa7c9d44562b1 (diff)
cec-ctl: improve 'Sleep' message in stress test
When sleeping before Image View On or Standby, clarify before which message the Sleep comes. This makes it easier to grep for a sleep for Standby or a sleep for Image View On. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/cec-ctl/cec-ctl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index 8e08a577..7f62b3d2 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -1557,7 +1557,7 @@ static void stress_test_power_cycle(const struct node &node, unsigned cnt,
iter++;
if (usecs1)
- printf("%s: Sleep %.2fs\n", ts2s(current_ts()).c_str(),
+ printf("%s: Sleep %.2fs before Image View On\n", ts2s(current_ts()).c_str(),
usecs1 / 1000000.0);
fflush(stdout);
usleep(usecs1);
@@ -1647,7 +1647,7 @@ static void stress_test_power_cycle(const struct node &node, unsigned cnt,
break;
if (usecs2)
- printf("%s: Sleep %.2fs\n", ts2s(current_ts()).c_str(),
+ printf("%s: Sleep %.2fs before Standby\n", ts2s(current_ts()).c_str(),
usecs2 / 1000000.0);
fflush(stdout);
usleep(usecs2);

Privacy Policy