Ask Your Question

WCET measurement

asked 2019-06-27 18:20:09 -0600

zgu666 gravatar image

updated 2019-06-30 18:26:01 -0600

Geoff gravatar image

In Autoware measurer:

void ExecTime::start_time() {
    start_time_ms = get_current_time_ms();
void ExecTime::end_time() {
    end_time_ms = get_current_time_ms();
    exec_time_ms = end_time_ms>start_time_ms ? end_time_ms-start_time_ms : 0;}

But with fixed-priority preemptive scheduling, the node being measured may be preempted by higher priority nodes, hence the WCET measurement may not be accurate.

edit retag flag offensive close merge delete


Please always use the autoware tag for autoware questions. This is not a general ROS 2 question.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-28 06:41:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-07-03 21:56:31 -0600

yukkysaito gravatar image

I developed at university for ros 1.0 (indigo + kinetic). However, I do not maintain it now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-06-27 18:20:09 -0600

Seen: 35 times

Last updated: Jul 03 '19