tests: Update string for measuring pvmfw boot time

Replace the U-Boot boot message by the one we have in Rust pvmfw, to
properly measure the time spent on pvmfw during boot.

Bug: 237371962
Test: atest ComposBenchmarkApp
Change-Id: I0fcea98c7828b6e4fe313af1f9a09c0b8e9703c7
This commit is contained in:
Pierre-Clément Tosi 2022-10-11 08:16:58 +01:00
parent 7c6e4185bb
commit d5926d7455
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public abstract class MicrodroidDeviceTestBase {
if (!mVcpuStartedNanoTime.isPresent()) { if (!mVcpuStartedNanoTime.isPresent()) {
mVcpuStartedNanoTime = OptionalLong.of(System.nanoTime()); mVcpuStartedNanoTime = OptionalLong.of(System.nanoTime());
} }
if (log.contains("Starting kernel") && !mKernelStartedNanoTime.isPresent()) { if (log.contains("Starting payload...") && !mKernelStartedNanoTime.isPresent()) {
mKernelStartedNanoTime = OptionalLong.of(System.nanoTime()); mKernelStartedNanoTime = OptionalLong.of(System.nanoTime());
} }
if (log.contains("Run /init as init process") && !mInitStartedNanoTime.isPresent()) { if (log.contains("Run /init as init process") && !mInitStartedNanoTime.isPresent()) {