Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions device_handbrake/docs/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ to keep realtimeness if the poking is 2ms or less.
Note3: The simulation will run for one poke period before the handbrake starts.
So expect to see simulations to last approx. 1 poke period less than specified

Note4: If the host machine is too slow to keep up with the requested ratio,
the handbrake will not stall the simulation. In that case a warning will be
printed at verbosity level 4 indicating how far behind real time the
simulation is lagging.

Run with --help for more information
2 changes: 2 additions & 0 deletions device_handbrake/src/bs_handbrake_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ int main(int argc, char *argv[]) {
break;
}
bs_trace_raw(6,"@%"PRItime" Stalled until real time = %"PRIuMAX"\n", wait_s.end, (uintmax_t)Expected_time);
} else {
bs_trace_raw(4,"@%"PRItime" Simulation lagging behind real time by %"PRIi64" us\n", wait_s.end, -diff);
}
}

Expand Down