Ask Your Question
1

WCET measurement [closed]

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

zgu666 gravatar image

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

Geoff gravatar image

In Autoware measurer:

https://github.com/CPFL/ROSCH/tree/ma...

exec_time.cpp, 
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 reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2020-12-18 13:10:54.301767

Comments

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

gvdhoorn gravatar image gvdhoorn  ( 2019-06-28 06:41:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

1 follower

Stats

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

Seen: 61 times

Last updated: Jul 03 '19